Class: Headquarters::Client::Members
- Inherits:
-
API
- Object
- API
- Headquarters::Client::Members
show all
- Defined in:
- lib/headquarters/client/members.rb
Instance Attribute Summary
Attributes inherited from API
#authenticator
Instance Method Summary
collapse
Methods inherited from API
#get, #headers, #initialize, #post
Instance Method Details
#all ⇒ Object
3
4
5
|
# File 'lib/headquarters/client/members.rb', line 3
def all
get Endpoints::MEMBERS
end
|
#me ⇒ Object
7
8
9
|
# File 'lib/headquarters/client/members.rb', line 7
def me
get Endpoints::ME
end
|
#search(query) ⇒ Object
11
12
13
|
# File 'lib/headquarters/client/members.rb', line 11
def search(query)
get Endpoints::MEMBERS, query: { q: query }
end
|