Class: Io::Flow::V0::Models::RoundingType

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

Returns a new instance of RoundingType.



8216
8217
8218
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8216

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

Instance Attribute Details

#value ⇒ Object (readonly)

Returns the value of attribute value.



8214
8215
8216
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8214

def value
  @value
end

Instance Method Details

#to_hash ⇒ Object



8252
8253
8254
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8252

def to_hash
  value
end