Sha256: 62c4ce832f4eae6516c03eff7674308a6bfd67c4a4b4548a490c5c551b75d556

Contents?: true

Size: 310 Bytes

Versions: 3

Compression:

Stored size: 310 Bytes

Contents

module Espago
  class ApiConnection
    class TokensPost < ApiPost
      def initialize(connection)
        @connection = connection
        @connection.request(:authorization, :basic, Espago.public_key, '')
      end

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
espago-0.1.11 lib/espago/api_connection/tokens_post.rb
espago-0.1.10 lib/espago/api_connection/tokens_post.rb
espago-0.1.9 lib/espago/api_connection/tokens_post.rb