Class: Kf5Api::Organization

Inherits:
Object
  • Object
show all
Extended by:
Base
Defined in:
lib/kf5_api/organization.rb

Constant Summary collapse

ACTIONS_HASH =
{
  all: '/apiv2/organizations'
}

Class Method Summary collapse

Methods included from Base

basic_auth, get

Class Method Details

.all(query_params = {}) ⇒ Object



12
13
14
# File 'lib/kf5_api/organization.rb', line 12

def all(query_params = {})
  get(ACTIONS_HASH[:all], query_params).parsed_response
end