Class: CredHubble::Resources::PermissionCollection

Inherits:
Resource show all
Includes:
Enumerable
Defined in:
lib/cred_hubble/resources/permission_collection.rb

Instance Method Summary collapse

Methods inherited from RestResource

from_json, #to_json

Instance Method Details

#each(&block) ⇒ Object



12
13
14
# File 'lib/cred_hubble/resources/permission_collection.rb', line 12

def each(&block)
  permissions.each(&block)
end

#empty?Boolean

Returns:

  • (Boolean)


16
17
18
# File 'lib/cred_hubble/resources/permission_collection.rb', line 16

def empty?
  permissions.empty?
end