Class: Io::Flow::V0::Models::MerchantApplicationFormUndefinedType
- Inherits:
-
MerchantApplicationForm
- Object
- MerchantApplicationForm
- Io::Flow::V0::Models::MerchantApplicationFormUndefinedType
- Defined in:
- lib/flow_commerce/flow_api_v0_client.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Attributes inherited from MerchantApplicationForm
Instance Method Summary collapse
- #copy(incoming = {}) ⇒ Object
-
#initialize(incoming = {}) ⇒ MerchantApplicationFormUndefinedType
constructor
A new instance of MerchantApplicationFormUndefinedType.
- #subtype_to_hash ⇒ Object
- #to_hash ⇒ Object
Methods inherited from MerchantApplicationForm
Constructor Details
#initialize(incoming = {}) ⇒ MerchantApplicationFormUndefinedType
Returns a new instance of MerchantApplicationFormUndefinedType.
12123 12124 12125 12126 12127 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 12123 def initialize(incoming={}) super(:discriminator => 'undefined_type') opts = HttpClient::Helper.symbolize_keys(incoming) @name = HttpClient::Preconditions.assert_class('name', opts.delete(:discriminator), String) end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
12121 12122 12123 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 12121 def name @name end |
Instance Method Details
#copy(incoming = {}) ⇒ Object
12133 12134 12135 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 12133 def copy(incoming={}) raise 'Operation not supported for undefined type' end |
#subtype_to_hash ⇒ Object
12129 12130 12131 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 12129 def subtype_to_hash raise 'Unable to serialize undefined type to json' end |
#to_hash ⇒ Object
12137 12138 12139 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 12137 def to_hash raise 'Operation not supported for undefined type' end |