Class: Yammer::Resources::GroupMembership

Inherits:
Base
  • Object
show all
Defined in:
lib/yammer/resources/group_membership.rb

Instance Attribute Summary

Attributes inherited from Base

#attrs, #id

Class Method Summary collapse

Methods inherited from Base

#api_handler, attr_accessor_deffered, base_name, #base_name, #changes, #delete!, fetch, get, identity_map, #initialize, #load!, #load_deferred_attribute!, #loaded?, model_attributes, #modified?, #new_record?, #persisted?, #reload!, #save, #update

Methods included from ApiHandler

#api_handler, #establish_api_handler

Constructor Details

This class inherits a constructor from Yammer::Resources::Base

Class Method Details

.create(id) ⇒ Object



22
23
24
# File 'lib/yammer/resources/group_membership.rb', line 22

def self.create(id)
  api_handler.create_group_membership(id)
end