Class: Io::Flow::V0::Models::MarginType
- Inherits:
-
Object
- Object
- Io::Flow::V0::Models::MarginType
- 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) ⇒ MarginType
constructor
A new instance of MarginType.
- #to_hash ⇒ Object
Constructor Details
#initialize(value) ⇒ MarginType
Returns a new instance of MarginType.
7275 7276 7277 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7275 def initialize(value) @value = HttpClient::Preconditions.assert_class('value', value, String) end |
Instance Attribute Details
#value ⇒ Object (readonly)
Returns the value of attribute value.
7273 7274 7275 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7273 def value @value end |
Instance Method Details
#to_hash ⇒ Object
7310 7311 7312 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7310 def to_hash value end |