Class: Pokepay::Response::InvalidParameters

Inherits:
Object
  • Object
show all
Defined in:
lib/pokepay_partner_ruby_sdk/response/invalid_parameters.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#errorsObject (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

#messageObject (readonly)

Returns the value of attribute message.



12
13
14
# File 'lib/pokepay_partner_ruby_sdk/response/invalid_parameters.rb', line 12

def message
  @message
end

#typeObject (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