Class: Io::Flow::V0::Models::OrderErrorCode
- Inherits:
-
Object
- Object
- Io::Flow::V0::Models::OrderErrorCode
- 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) ⇒ OrderErrorCode
constructor
A new instance of OrderErrorCode.
- #to_hash ⇒ Object
Constructor Details
#initialize(value) ⇒ OrderErrorCode
Returns a new instance of OrderErrorCode.
7400 7401 7402 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7400 def initialize(value) @value = HttpClient::Preconditions.assert_class('value', value, String) end |
Instance Attribute Details
#value ⇒ Object (readonly)
Returns the value of attribute value.
7398 7399 7400 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7398 def value @value end |
Instance Method Details
#to_hash ⇒ Object
7440 7441 7442 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7440 def to_hash value end |