Class: Io::Flow::V0::Models::UpdateType

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

Returns a new instance of UpdateType.



8804
8805
8806
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8804

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

Instance Attribute Details

#value ⇒ Object (readonly)

Returns the value of attribute value.



8802
8803
8804
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8802

def value
  @value
end

Instance Method Details

#to_hash ⇒ Object



8839
8840
8841
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8839

def to_hash
  value
end