Class: Io::Flow::V0::Models::UnitOfTime
- Inherits:
-
Object
- Object
- Io::Flow::V0::Models::UnitOfTime
- 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) ⇒ UnitOfTime
constructor
A new instance of UnitOfTime.
- #to_hash ⇒ Object
Constructor Details
#initialize(value) ⇒ UnitOfTime
Returns a new instance of UnitOfTime.
8699 8700 8701 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8699 def initialize(value) @value = HttpClient::Preconditions.assert_class('value', value, String) end |
Instance Attribute Details
#value ⇒ Object (readonly)
Returns the value of attribute value.
8697 8698 8699 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8697 def value @value end |
Instance Method Details
#to_hash ⇒ Object
8747 8748 8749 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8747 def to_hash value end |