Class: Judopay::WebPayments::Transaction
- Defined in:
- lib/judopay/models/web_payments/transaction.rb
Constant Summary
Constants inherited from Model
Class Method Summary collapse
-
.find(reference) ⇒ Judopay::Mash
Find a specific web payment given a valid payment reference.
Methods inherited from Model
all, check_api_method_is_supported, #check_api_method_is_supported, #check_judo_id, #create, #resource_path, #valid_api_methods, valid_options, #validate
Class Method Details
.find(reference) ⇒ Judopay::Mash
Find a specific web payment given a valid payment reference
13 14 15 16 |
# File 'lib/judopay/models/web_payments/transaction.rb', line 13 def self.find(reference) api = Judopay::API.new api.get(@resource_path + '/' + reference.to_s) end |