Class: Billimatic::Entities::Subscription

Inherits:
Contract show all
Defined in:
lib/billimatic/entities/subscription.rb

Instance Method Summary collapse

Instance Method Details

#checkout_urlObject



6
7
8
9
10
# File 'lib/billimatic/entities/subscription.rb', line 6

def checkout_url
  # TODO should this come from the JSON from Billimatic?
  fake_http = nil
  Billimatic::Resources::Subscription.new(fake_http).checkout_url(token: self.token)
end