Class: GContacts::Feed
- Inherits:
-
GData::Feed
- Object
- GData::Feed
- GContacts::Feed
- Defined in:
- lib/gdata/contacts.rb
Constant Summary collapse
- CLIENT_LOGIN_URL =
"https://www.google.com/accounts/ClientLogin"
Instance Attribute Summary collapse
-
#projection ⇒ Object
readonly
Returns the value of attribute projection.
-
#user_id ⇒ Object
readonly
Returns the value of attribute user_id.
Instance Method Summary collapse
-
#initialize(options) ⇒ Feed
constructor
:projection => one of :full, :thin, :property_key :user_id => :default, “[email protected]”.
Constructor Details
#initialize(options) ⇒ Feed
:projection => one of :full, :thin, :property_key :user_id => :default, “[email protected]”
26 27 28 29 30 |
# File 'lib/gdata/contacts.rb', line 26 def initialize() @projection = .delete(:projection) || :full @user_id = .delete(:user_id) raise ArgumentError, "User ID has to be specified for calendar feed" unless user_id end |
Instance Attribute Details
#projection ⇒ Object (readonly)
Returns the value of attribute projection.
23 24 25 |
# File 'lib/gdata/contacts.rb', line 23 def projection @projection end |
#user_id ⇒ Object (readonly)
Returns the value of attribute user_id.
22 23 24 |
# File 'lib/gdata/contacts.rb', line 22 def user_id @user_id end |