Sha256: 5e5919d3e8b252be2421344c593c41eb2f63813f5004eed6abe352e2280136c7
Contents?: true
Size: 276 Bytes
Versions: 2
Compression:
Stored size: 276 Bytes
Contents
module Sentimeta::Client::Auth extend self extend Sentimeta::RestClient def namespace :auth end def user token get :users, id: token end def signup attrs post :users, user: attrs end def signin attrs post :sessions, user: attrs end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
sentimeta-0.1.2 | lib/sentimeta/client/auth.rb |
sentimeta-0.1.0 | lib/sentimeta/client/auth.rb |