Sha256: 7ff36c5d573241a80aacc936d5173b7043892d86311c9f39638b0dc4aeb8f6f1

Contents?: true

Size: 459 Bytes

Versions: 8

Compression:

Stored size: 459 Bytes

Contents

module Braintree
  class Subscription
    class StatusDetails
      include BaseModule

      attr_reader :balance
      attr_reader :price
      attr_reader :status
      attr_reader :subscription_source
      attr_reader :timestamp
      attr_reader :user
      attr_reader :currency_iso_code
      attr_reader :plan_id

      def initialize(attributes)
        set_instance_variables_from_hash attributes unless attributes.nil?
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
braintree-4.23.0 lib/braintree/subscription/status_details.rb
braintree-4.22.0 lib/braintree/subscription/status_details.rb
braintree-4.21.0 lib/braintree/subscription/status_details.rb
braintree-4.20.0 lib/braintree/subscription/status_details.rb
braintree-4.19.0 lib/braintree/subscription/status_details.rb
braintree-4.18.0 lib/braintree/subscription/status_details.rb
braintree-4.17.0 lib/braintree/subscription/status_details.rb
braintree-4.16.0 lib/braintree/subscription/status_details.rb