Class: Io::Flow::V0::Models::CardType
- Inherits:
-
Object
- Object
- Io::Flow::V0::Models::CardType
- Defined in:
- lib/flow_commerce/flow_api_v0_client.rb
Instance Attribute Summary collapse
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(value) ⇒ CardType
constructor
A new instance of CardType.
- #to_hash ⇒ Object
Constructor Details
#initialize(value) ⇒ CardType
Returns a new instance of CardType.
6222 6223 6224 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 6222 def initialize(value) @value = HttpClient::Preconditions.assert_class('value', value, String) end |
Instance Attribute Details
#value ⇒ Object (readonly)
Returns the value of attribute value.
6220 6221 6222 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 6220 def value @value end |
Instance Method Details
#to_hash ⇒ Object
6286 6287 6288 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 6286 def to_hash value end |