Class: Io::Flow::V0::Models::CardErrorCode
- Inherits:
-
Object
- Object
- Io::Flow::V0::Models::CardErrorCode
- 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) ⇒ CardErrorCode
constructor
A new instance of CardErrorCode.
- #to_hash ⇒ Object
Constructor Details
#initialize(value) ⇒ CardErrorCode
Returns a new instance of CardErrorCode.
6148 6149 6150 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 6148 def initialize(value) @value = HttpClient::Preconditions.assert_class('value', value, String) end |
Instance Attribute Details
#value ⇒ Object (readonly)
Returns the value of attribute value.
6146 6147 6148 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 6146 def value @value end |
Instance Method Details
#to_hash ⇒ Object
6212 6213 6214 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 6212 def to_hash value end |