Class: Credly::Api::Members
Defined Under Namespace
Classes: Badges
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#after_request, #before_request, #build_object, #delete, #get, #initialize, #patch, #post, #put, #versioned_path
Methods included from Requierable
#require_at_least_one_file, #require_present
Constructor Details
This class inherits a constructor from Credly::Api::Base
Instance Method Details
#all(options = {}) ⇒ Object
17 18 19 |
# File 'lib/credly/api/members.rb', line 17 def all( = {}) get("members", ) end |
#badges ⇒ Object
25 26 27 |
# File 'lib/credly/api/members.rb', line 25 def badges Badges.new(:client => @client, :member_id => self.id) end |
#find(id, options = {}) ⇒ Object
21 22 23 |
# File 'lib/credly/api/members.rb', line 21 def find(id, = {}) get("members/#{id}", ) end |