Class: GramV2Client::Role

Inherits:
Base
  • Object
show all
Defined in:
lib/gram_v2_client/role.rb

Instance Method Summary collapse

Methods inherited from Base

find, password, proxy, reload_config, site, #to_param, user

Instance Method Details

#accountsObject



5
6
7
# File 'lib/gram_v2_client/role.rb', line 5

def accounts
  GramV2Client::Account.find(:all, from: self.class.site.to_s + "/roles/" + self.uuid + "/accounts")
end