Class: Io::Flow::V0::Models::TierStrategy

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

Returns a new instance of TierStrategy.



8496
8497
8498
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8496

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

Instance Attribute Details

#value ⇒ Object (readonly)

Returns the value of attribute value.



8494
8495
8496
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8494

def value
  @value
end

Instance Method Details

#to_hash ⇒ Object



8530
8531
8532
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8530

def to_hash
  value
end