Sha256: ecc766b0fb33102b6c3faf8cb95d0760ef78a597f8114a633a6e0b03012eea26

Contents?: true

Size: 298 Bytes

Versions: 5

Compression:

Stored size: 298 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
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ruby-identitas-api-0.8.0 lib/ruby/identitas/endpoints/user.rb
ruby-identitas-api-0.7.1 lib/ruby/identitas/endpoints/user.rb
ruby-identitas-api-0.7.0 lib/ruby/identitas/endpoints/user.rb
ruby-identitas-api-0.6.0 lib/ruby/identitas/endpoints/user.rb
ruby-identitas-api-0.4.0 lib/ruby/identitas/endpoints/user.rb