Class: Io::Flow::V0::Models::GenericErrorCode
- Inherits:
-
Object
- Object
- Io::Flow::V0::Models::GenericErrorCode
- 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) ⇒ GenericErrorCode
constructor
A new instance of GenericErrorCode.
- #to_hash ⇒ Object
Constructor Details
#initialize(value) ⇒ GenericErrorCode
Returns a new instance of GenericErrorCode.
6953 6954 6955 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 6953 def initialize(value) @value = HttpClient::Preconditions.assert_class('value', value, String) end |
Instance Attribute Details
#value ⇒ Object (readonly)
Returns the value of attribute value.
6951 6952 6953 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 6951 def value @value end |
Instance Method Details
#to_hash ⇒ Object
6994 6995 6996 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 6994 def to_hash value end |