Class: CityGrid::API::Accounts::User

Inherits:
CityGrid::API::Accounts show all
Includes:
Mutable, Searchable
Defined in:
lib/citygrid/api/accounts/user.rb

Constant Summary

Constants inherited from CityGrid::API::Accounts

Authentication

Constants inherited from CityGrid::API

CityGrid::API::AdCenter, DEFAULT_ACTION_OPTIONS, DEFAULT_HEADERS

Class Method Summary collapse

Methods included from Searchable

included

Methods included from Mutable

included

Methods inherited from CityGrid::API

define_action, endpoint, newendpoint, request

Methods included from CityGridExceptions

appropriate_error

Class Method Details

.login(options = {}) ⇒ Object



8
9
10
11
12
13
# File 'lib/citygrid/api/accounts/user.rb', line 8

def self. options = {}
  request_and_handle :post,
    "#{endpoint}/login",
    :query => options,
    :headers => merge_headers()
end