Class: Io::Flow::V0::Models::RoundingMethod
- Inherits:
-
Object
- Object
- Io::Flow::V0::Models::RoundingMethod
- 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) ⇒ RoundingMethod
constructor
A new instance of RoundingMethod.
- #to_hash ⇒ Object
Constructor Details
#initialize(value) ⇒ RoundingMethod
Returns a new instance of RoundingMethod.
8167 8168 8169 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8167 def initialize(value) @value = HttpClient::Preconditions.assert_class('value', value, String) end |
Instance Attribute Details
#value ⇒ Object (readonly)
Returns the value of attribute value.
8165 8166 8167 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8165 def value @value end |
Instance Method Details
#to_hash ⇒ Object
8206 8207 8208 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8206 def to_hash value end |