Class: Io::Flow::V0::Models::Role
- Inherits:
-
Object
- Object
- Io::Flow::V0::Models::Role
- Defined in:
- lib/flow_commerce/flow_api_v0_client.rb
Instance Attribute Summary collapse
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(value) ⇒ Role
constructor
A new instance of Role.
- #to_hash ⇒ Object
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 |