Class: Io::Flow::V0::Models::Role

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

Returns a new instance of Role.



8125
8126
8127
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8125

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

Instance Attribute Details

#value ⇒ Object (readonly)

Returns the value of attribute value.



8123
8124
8125
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8123

def value
  @value
end

Instance Method Details

#to_hash ⇒ Object



8157
8158
8159
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8157

def to_hash
  value
end