lib/billimatic/entities/subscription.rb in billimatic-client-0.1.2 vs lib/billimatic/entities/subscription.rb in billimatic-client-0.2.1

- old
+ new

@@ -1,6 +1,11 @@ module Billimatic module Entities class Subscription < Contract + 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 end end end