Sha256: 83141f14c88d85126ff10ff547db9ea9f188a193f6f8c7733d0fceb81e444aad

Contents?: true

Size: 299 Bytes

Versions: 8

Compression:

Stored size: 299 Bytes

Contents

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

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
billimatic-client-0.8.0 lib/billimatic/entities/subscription.rb
billimatic-client-0.7.0 lib/billimatic/entities/subscription.rb
billimatic-client-0.6.0 lib/billimatic/entities/subscription.rb
billimatic-client-0.5.1 lib/billimatic/entities/subscription.rb
billimatic-client-0.5.0 lib/billimatic/entities/subscription.rb
billimatic-client-0.4.0 lib/billimatic/entities/subscription.rb
billimatic-client-0.3.0 lib/billimatic/entities/subscription.rb
billimatic-client-0.2.1 lib/billimatic/entities/subscription.rb