Sha256: e30bee5a1cfabc5bafede1a8d0b8e434a3629a6f847ca4776af32775f0681cb6
Contents?: true
Size: 507 Bytes
Versions: 1
Compression:
Stored size: 507 Bytes
Contents
module Ruby module Identitas module Endpoints module User def create_user(options = {}) options.merge!({access_token: @token}) endpoint = build_endpoint("/v1/users") self.class.post(endpoint, query: options) end def invite_user(options = {}) options.merge!({access_token: @token}) endpoint = build_endpoint("/v1/users/invite") self.class.post(endpoint, query: options) end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ruby-identitas-api-0.5.0 | lib/ruby/identitas/endpoints/user.rb |