Class: Pokepay::Response::PartnerRequestAlreadyDone

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(row) ⇒ PartnerRequestAlreadyDone

Returns a new instance of PartnerRequestAlreadyDone.



6
7
8
9
# File 'lib/pokepay_partner_ruby_sdk/response/partner_request_already_done.rb', line 6

def initialize(row)
  @type = row["type"]
  @message = row["message"]
end

Instance Attribute Details

#messageObject (readonly)

Returns the value of attribute message.



11
12
13
# File 'lib/pokepay_partner_ruby_sdk/response/partner_request_already_done.rb', line 11

def message
  @message
end

#typeObject (readonly)

Returns the value of attribute type.



10
11
12
# File 'lib/pokepay_partner_ruby_sdk/response/partner_request_already_done.rb', line 10

def type
  @type
end