Sha256: 33f3401a5d03a83c5bff4c3c472468fc92e9c64cd7aef8322a12644d2d1ddf64

Contents?: true

Size: 440 Bytes

Versions: 21

Compression:

Stored size: 440 Bytes

Contents

module Bearcat
  class Client < Footrest::Client
    module Logins
      extend ClientModule

      post :reset_password, "/api/v1/users/reset_password"

      prefix "/api/v1/accounts/:account/logins/" do
        get :account_logins
        post :create_login
        put :update_login, ":id"
      end

      prefix "/api/v1/users/:user/logins/" do
        get :user_logins
        delete :delete_login, ":id"
      end
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
bearcat-1.5.13 lib/bearcat/client/logins.rb