Class: Io::Flow::V0::Models::Strategy

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

Returns a new instance of Strategy.



8397
8398
8399
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8397

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

Instance Attribute Details

#value ⇒ Object (readonly)

Returns the value of attribute value.



8395
8396
8397
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8395

def value
  @value
end

Instance Method Details

#to_hash ⇒ Object



8436
8437
8438
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8436

def to_hash
  value
end