Class: Credly::Api::Members::Badges
- Defined in:
- lib/credly/api/member.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#before_request, #build_object, #delete, #get, #initialize, #patch, #post, #put
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(member_id, options = Hash.new) ⇒ Object
6 7 8 |
# File 'lib/credly/api/member.rb', line 6 def all(member_id, = Hash.new) get("members/#{member_id}/badges", ) end |
#given(member_id, options = Hash.new) ⇒ Object
10 11 12 |
# File 'lib/credly/api/member.rb', line 10 def given(member_id, = Hash.new) get("members/#{member_id}/badges/given", ) end |