Class: Io::Flow::V0::Models::CaptureDeclineCode
- Inherits:
-
Object
- Object
- Io::Flow::V0::Models::CaptureDeclineCode
- 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) ⇒ CaptureDeclineCode
constructor
A new instance of CaptureDeclineCode.
- #to_hash ⇒ Object
Constructor Details
#initialize(value) ⇒ CaptureDeclineCode
Returns a new instance of CaptureDeclineCode.
6099 6100 6101 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 6099 def initialize(value) @value = HttpClient::Preconditions.assert_class('value', value, String) end |
Instance Attribute Details
#value ⇒ Object (readonly)
Returns the value of attribute value.
6097 6098 6099 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 6097 def value @value end |
Instance Method Details
#to_hash ⇒ Object
6138 6139 6140 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 6138 def to_hash value end |