Class: Contacts::Google::Group
Constant Summary
Constants inherited from Base
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
- #create_url ⇒ Object
-
#initialize(gmail, xml = nil) ⇒ Group
constructor
A new instance of Group.
Methods inherited from Base
#[], #[]=, #create!, #delete!, #edit_url, #id, #load_attributes, #name, #name=, #new?, #update!, #updated_at
Constructor Details
#initialize(gmail, xml = nil) ⇒ Group
Returns a new instance of Group.
476 477 478 479 |
# File 'lib/contacts/google.rb', line 476 def initialize(gmail, xml = nil) super(gmail, xml) @xml.at('category')['term'] = 'http://schemas.google.com/contact/2008#group' end |
Instance Method Details
#create_url ⇒ Object
481 482 483 |
# File 'lib/contacts/google.rb', line 481 def create_url '/m8/feeds/groups/default/full' end |