Class: Io::Flow::V0::Models::Visibility

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

Returns a new instance of Visibility.



8938
8939
8940
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8938

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

Instance Attribute Details

#value ⇒ Object (readonly)

Returns the value of attribute value.



8936
8937
8938
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8936

def value
  @value
end

Instance Method Details

#to_hash ⇒ Object



8970
8971
8972
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8970

def to_hash
  value
end