Class: Credly::Api::MemberBadges::Evidence

Inherits:
Base
  • Object
show all
Defined in:
lib/credly/api/evidence.rb

Instance Attribute Summary collapse

Attributes inherited from Base

#id, #response

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 Attribute Details

#member_badge_idObject

Returns the value of attribute member_badge_id.



6
7
8
# File 'lib/credly/api/evidence.rb', line 6

def member_badge_id
  @member_badge_id
end

Instance Method Details

#all(options = {}) ⇒ Object



8
9
10
# File 'lib/credly/api/evidence.rb', line 8

def all(options = {})
  get("member_badges/#{self.member_badge_id}/evidence", options)
end