Module: Ruby::Identitas::Endpoints::User
- Included in:
- Main
- Defined in:
- lib/ruby/identitas/endpoints/user.rb
Instance Method Summary collapse
Instance Method Details
#create_user(options = {}) ⇒ Object
5 6 7 8 9 |
# File 'lib/ruby/identitas/endpoints/user.rb', line 5 def create_user( = {}) .merge!({access_token: @token}) endpoint = build_endpoint("/v1/users") self.class.post(endpoint, query: ) end |