Sha256: de2798e1f80e9bbd936c2f12f9e98c95b45429d0a304ce2c616bae7363a6136e

Contents?: true

Size: 289 Bytes

Versions: 3

Compression:

Stored size: 289 Bytes

Contents

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

      def request(params = {})
        @connection.post "tokens", params
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
espago-0.0.9 lib/espago/api_connection/post_tokens.rb
espago-0.0.7 lib/espago/api_connection/post_tokens.rb
espago-0.0.6 lib/espago/api_connection/post_tokens.rb