Module: Paymill::Operations::All::ClassMethods
- Defined in:
- lib/paymill/operations/all.rb
Instance Method Summary collapse
-
#all(options = {}) ⇒ Array
Retrieves all available objects from the Paymill API.
Instance Method Details
permalink #all(options = {}) ⇒ Array
Retrieves all available objects from the Paymill API
9 10 11 12 |
# File 'lib/paymill/operations/all.rb', line 9 def all( = {}) response = Paymill.request(:get, "#{self.name.split("::").last.downcase}s/", ) results_from response end |