Class: Io::Flow::V0::Models::Capability
- Inherits:
-
Object
- Object
- Io::Flow::V0::Models::Capability
- 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) ⇒ Capability
constructor
A new instance of Capability.
- #to_hash ⇒ Object
Constructor Details
#initialize(value) ⇒ Capability
Returns a new instance of Capability.
6061 6062 6063 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 6061 def initialize(value) @value = HttpClient::Preconditions.assert_class('value', value, String) end |
Instance Attribute Details
#value ⇒ Object (readonly)
Returns the value of attribute value.
6059 6060 6061 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 6059 def value @value end |
Instance Method Details
#to_hash ⇒ Object
6089 6090 6091 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 6089 def to_hash value end |