Class: Io::Flow::V0::Models::LevyComponent

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

Returns a new instance of LevyComponent.



7173
7174
7175
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7173

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

Instance Attribute Details

#value ⇒ Object (readonly)

Returns the value of attribute value.



7171
7172
7173
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7171

def value
  @value
end

Instance Method Details

#to_hash ⇒ Object



7219
7220
7221
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7219

def to_hash
  value
end