Class: Yao::Resources::User
Instance Attribute Summary
Attributes included from RestfullyAccessible
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Base
#[], #[]=, add_instantiation_name_list, #destroy, friendly_attributes, #id, #initialize, instantiation?, map_attribute_to_attribute, map_attribute_to_resource, map_attribute_to_resources, map_attributes_to_time, #to_hash, #update
Methods included from RestfullyAccessible
#admin=, #api_version, #api_version=, #as_member, #client, #create, #destroy, extended, #find_by_name, #get, #get!, #list, #resources_path, #resources_path=, #return_single_on_querying, #return_single_on_querying=, #update
Constructor Details
This class inherits a constructor from Yao::Resources::Base
Class Method Details
.return_single_on_querying ⇒ Bool
19 20 21 |
# File 'lib/yao/resources/user.rb', line 19 def api_verion_v2? end |
Instance Method Details
#role_assignment ⇒ Yao::Resources::RoleAssignment
13 14 15 |
# File 'lib/yao/resources/user.rb', line 13 def role_assignment Yao::RoleAssignment.get(user: self) end |