Class: Io::Flow::V0::Models::UnitOfMeasurement
- Inherits:
-
Object
- Object
- Io::Flow::V0::Models::UnitOfMeasurement
- 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) ⇒ UnitOfMeasurement
constructor
A new instance of UnitOfMeasurement.
- #to_hash ⇒ Object
Constructor Details
#initialize(value) ⇒ UnitOfMeasurement
Returns a new instance of UnitOfMeasurement.
8610 8611 8612 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8610 def initialize(value) @value = HttpClient::Preconditions.assert_class('value', value, String) end |
Instance Attribute Details
#value ⇒ Object (readonly)
Returns the value of attribute value.
8608 8609 8610 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8608 def value @value end |
Instance Method Details
#to_hash ⇒ Object
8689 8690 8691 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8689 def to_hash value end |