Class: Rubyplat::Responses::PaymentResponse
- Defined in:
- lib/rubyplat/responses/payment_response.rb
Instance Method Summary collapse
Methods inherited from Response
from_response_string, #initialize
Methods included from Utils::Parser
Constructor Details
This class inherits a constructor from Rubyplat::Responses::Response
Instance Method Details
#success? ⇒ Boolean
4 5 6 |
# File 'lib/rubyplat/responses/payment_response.rb', line 4 def success? result.to_i == 0 && error.to_i == 0 end |