Class: Credly::Api

Inherits:
Object
  • Object
show all
Extended by:
Forwardable
Defined in:
lib/credly/api.rb,
lib/credly/api/base.rb,
lib/credly/api/badges.rb,
lib/credly/api/member.rb,
lib/credly/api/evidence.rb,
lib/credly/api/categories.rb,
lib/credly/api/member_badges.rb

Defined Under Namespace

Classes: Badges, Base, MemberBadges, Members

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(client) ⇒ Api

Returns a new instance of Api.



11
12
13
# File 'lib/credly/api.rb', line 11

def initialize(client)
  @client = client
end

Instance Attribute Details

#clientObject

Returns the value of attribute client.



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

def client
  @client
end