Class: Io::Flow::V0::Models::UpdatePolicy

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

Returns a new instance of UpdatePolicy.



8757
8758
8759
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8757

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

Instance Attribute Details

#value ⇒ Object (readonly)

Returns the value of attribute value.



8755
8756
8757
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8755

def value
  @value
end

Instance Method Details

#to_hash ⇒ Object



8794
8795
8796
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8794

def to_hash
  value
end