Class: Inbox::Calendar

Inherits:
RestfulModel show all
Defined in:
lib/calendar.rb

Instance Attribute Summary

Attributes inherited from RestfulModel

#raw_json

Instance Method Summary collapse

Methods inherited from RestfulModel

#==, #as_json, collection_name, #destroy, #inflate, #initialize, #save!, #update, #url

Methods included from TimeAttrAccessor

#time_attr_accessor

Methods included from Parameters

included, #parameters

Constructor Details

This class inherits a constructor from Inbox::RestfulModel

Instance Method Details

#eventsObject



11
12
13
# File 'lib/calendar.rb', line 11

def events
  @events ||= RestfulModelCollection.new(Event, @_api, {:calendar_id=>@id})
end