Sha256: 248b1e20f6934e2a94745de05530c8f1fe7c39682031753c313ff6948b4d7c97

Contents?: true

Size: 368 Bytes

Versions: 1

Compression:

Stored size: 368 Bytes

Contents

module Paysio
  module APIOperations
    module List
      module ClassMethods
        def all(filters={}, api_key=nil)
          response, api_key = Paysio.request(:get, url, api_key, filters)
          Util.convert_to_paysio_object(response, api_key)
        end
      end

      def self.included(base)
        base.extend(ClassMethods)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
paysio-1.0.0 lib/paysio/api_operations/list.rb