Class: Io::Flow::V0::Models::LevyStrategy

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

Returns a new instance of LevyStrategy.



7229
7230
7231
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7229

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

Instance Attribute Details

#value ⇒ Object (readonly)

Returns the value of attribute value.



7227
7228
7229
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7227

def value
  @value
end

Instance Method Details

#to_hash ⇒ Object



7265
7266
7267
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7265

def to_hash
  value
end