Class: Dawn::User

Inherits:
Object
  • Object
show all
Includes:
BaseApi
Defined in:
lib/dawn/api/models/login.rb

Overview

:nodoc:

Class Method Summary collapse

Methods included from BaseApi

included, #to_h

Methods included from BaseApi::RequestExtension

#request

Methods included from SafeExtension

#safe

Class Method Details

.login(options = {}) ⇒ Object

Parameters:

  • options (Hash) (defaults to: {})


10
11
12
13
14
15
# File 'lib/dawn/api/models/login.rb', line 10

def self.(options={})
  post(
    path: '/login',
    body: options.to_json
  )
end