Class: Io::Flow::V0::Models::UnitOfTime

Inherits:
Object
  • Object
show all
Defined in:
lib/flow_commerce/flow_api_v0_client.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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