Class: Io::Flow::V0::Models::AttributeIntent

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

Returns a new instance of AttributeIntent.



5719
5720
5721
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 5719

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

Instance Attribute Details

#value ⇒ Object (readonly)

Returns the value of attribute value.



5717
5718
5719
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 5717

def value
  @value
end

Instance Method Details

#to_hash ⇒ Object



5749
5750
5751
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 5749

def to_hash
  value
end