Skip to content

Commit

Permalink
add url helpers for transparent post api
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacques Crocker committed Feb 7, 2011
1 parent 294a839 commit d7a9728
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions lib/recurly/transparent.rb
Expand Up @@ -68,6 +68,18 @@ def self.url(action = nil)
"#{Recurly.site}/transparent/#{action}"
end

def self.create_subscription_url
url(Action::CreateSubscription)
end

def self.create_transaction_url
url(Action::CreateTransaction)
end

def self.update_billing_url
url(Action::UpdateBilling)
end

# returns the results via a code
def self.results(params)
# pull out the result key and status
Expand Down

0 comments on commit d7a9728

Please sign in to comment.