Sha256: 8e4d22588f126346d44af8c5bdf500525735ae4dcf486a55212980a6f8e62529

Contents?: true

Size: 270 Bytes

Versions: 3

Compression:

Stored size: 270 Bytes

Contents

module Espago
  class ApiConnection
    class PostClientsAuthorize
      def initialize(connection)
        @connection = connection
      end

      def request(params = {})
        @connection.post "clients/#{params[:client_id]}/authorize"
      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_clients_authorize.rb
espago-0.0.7 lib/espago/api_connection/post_clients_authorize.rb
espago-0.0.6 lib/espago/api_connection/post_clients_authorize.rb