Class: Io::Flow::V0::Models::Direction

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) ⇒ Direction

Returns a new instance of Direction.



6509
6510
6511
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 6509

def initialize(value)
  @value = HttpClient::Preconditions.assert_class('value', value, String)
end

Instance Attribute Details

#value ⇒ Object (readonly)

Returns the value of attribute value.



6507
6508
6509
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 6507

def value
  @value
end

Instance Method Details

#to_hash ⇒ Object



6543
6544
6545
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 6543

def to_hash
  value
end