Class: Io::Flow::V0::Models::SortDirection
- Inherits:
-
Object
- Object
- Io::Flow::V0::Models::SortDirection
- 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) ⇒ SortDirection
constructor
A new instance of SortDirection.
- #to_hash ⇒ Object
Constructor Details
#initialize(value) ⇒ SortDirection
Returns a new instance of SortDirection.
8355 8356 8357 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8355 def initialize(value) @value = HttpClient::Preconditions.assert_class('value', value, String) end |
Instance Attribute Details
#value ⇒ Object (readonly)
Returns the value of attribute value.
8353 8354 8355 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8353 def value @value end |
Instance Method Details
#to_hash ⇒ Object
8387 8388 8389 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8387 def to_hash value end |