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!
Constructor Details
#initialize(gmail, xml = nil) ⇒ Group
Returns a new instance of Group.
471 472 473 474 |
# File 'lib/contacts/google.rb', line 471 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
476 477 478 |
# File 'lib/contacts/google.rb', line 476 def create_url '/m8/feeds/groups/default/full' end |