Class: Rubyplat::Responses::PaymentPermissionResponse

Inherits:
Response
  • Object
show all
Defined in:
lib/rubyplat/responses/payment_permission_response.rb

Instance Method Summary collapse

Methods inherited from Response

from_response_string, #initialize

Methods included from Utils::Parser

#parse

Constructor Details

This class inherits a constructor from Rubyplat::Responses::Response

Instance Method Details

#success?Boolean

Returns:

  • (Boolean)


5
6
7
# File 'lib/rubyplat/responses/payment_permission_response.rb', line 5

def success?
  result.to_i == 0 && error.to_i == 0
end