Class: Io::Flow::V0::Models::AttributeDataType

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

Returns a new instance of AttributeDataType.



5674
5675
5676
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 5674

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

Instance Attribute Details

#value ⇒ Object (readonly)

Returns the value of attribute value.



5672
5673
5674
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 5672

def value
  @value
end

Instance Method Details

#to_hash ⇒ Object



5709
5710
5711
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 5709

def to_hash
  value
end