Class: Pokepay::Response::InvalidParameters
- Inherits:
-
Object
- Object
- Pokepay::Response::InvalidParameters
- Defined in:
- lib/pokepay_partner_ruby_sdk/response/invalid_parameters.rb
Instance Attribute Summary collapse
-
#errors ⇒ Object
readonly
Returns the value of attribute errors.
-
#message ⇒ Object
readonly
Returns the value of attribute message.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(row) ⇒ InvalidParameters
constructor
A new instance of InvalidParameters.
Constructor Details
#initialize(row) ⇒ InvalidParameters
Returns a new instance of InvalidParameters.
6 7 8 9 10 |
# File 'lib/pokepay_partner_ruby_sdk/response/invalid_parameters.rb', line 6 def initialize(row) @type = row["type"] @message = row["message"] @errors = row["errors"] end |
Instance Attribute Details
#errors ⇒ Object (readonly)
Returns the value of attribute errors.
13 14 15 |
# File 'lib/pokepay_partner_ruby_sdk/response/invalid_parameters.rb', line 13 def errors @errors end |
#message ⇒ Object (readonly)
Returns the value of attribute message.
12 13 14 |
# File 'lib/pokepay_partner_ruby_sdk/response/invalid_parameters.rb', line 12 def @message end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
11 12 13 |
# File 'lib/pokepay_partner_ruby_sdk/response/invalid_parameters.rb', line 11 def type @type end |