lib/billimatic/entities/subscription.rb in billimatic-client-0.8.0 vs lib/billimatic/entities/subscription.rb in billimatic-client-0.9.0

- old
+ new

@@ -1,7 +1,9 @@ module Billimatic module Entities class Subscription < Contract + attribute :payment_information, PaymentInformation + 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