Class: Fulcrum::Member
Constant Summary
Constants inherited from Api
Instance Attribute Summary
Attributes inherited from Api
#configuration, #connection, #response
Class Method Summary collapse
Methods inherited from Api
call, configuration, configure, connection, get_key, key, parse_opts, response, uri
Class Method Details
.all(opts = {}) ⇒ Object
6 7 8 9 |
# File 'lib/fulcrum/member.rb', line 6 def all(opts = {}) params = parse_opts([:page], opts) call(:get, 'members.json', params) end |
.find(id) ⇒ Object
11 12 13 |
# File 'lib/fulcrum/member.rb', line 11 def find(id) call(:get, "members/#{id}.json") end |