Sha256: 51a6b718058c664e9ef71b57263106ddee6b48bb616e4e9b8b69efdbe014f6b3

Contents?: true

Size: 432 Bytes

Versions: 1

Compression:

Stored size: 432 Bytes

Contents

module Paynl
  module Api
    class GetService < Api

      def getData
        Paynl::Helper::requireServiceId
        @@data['serviceId'] = Paynl::Config::getServiceId

        Paynl::Helper::requireApiToken
        @@data['token'] = Paynl::Config::getApiToken

        return super;
      end

      def doRequest
        # TODO: add caching to this
        return super('transaction/getService', 16)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
paynl-1.0.4 lib/paynl/api/transaction/get_service.rb