Sha256: aeb06b3fb3120e2cb2f4b3f7a776c7a14fbd335c9e685773b78f5e32b4c4ce15

Contents?: true

Size: 289 Bytes

Versions: 2

Compression:

Stored size: 289 Bytes

Contents

module Espago
  class ApiConnection
    class TokensPost < ApiPost
      def initialize(connection)
        @connection = connection
        @connection.basic_auth(Espago.public_key, '')
      end

      def request(params = {})
        super("tokens", params)
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
espago-0.1.8 lib/espago/api_connection/tokens_post.rb
espago-0.1.2 lib/espago/api_connection/tokens_post.rb