Sha256: c04be2ce24027fc135f68898094d0e965e8fab777fba5fa9f6a526aba9b9c795

Contents?: true

Size: 285 Bytes

Versions: 12

Compression:

Stored size: 285 Bytes

Contents

require 'restful_model'
require 'event'

module Inbox
  class Calendar < RestfulModel

    parameter :name
    parameter :description
    parameter :event_ids

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

  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
inbox-0.15.1 lib/calendar.rb
inbox-0.15.0 lib/calendar.rb
inbox-0.14.1 lib/calendar.rb
inbox-0.14.0 lib/calendar.rb
inbox-0.13.0 lib/calendar.rb
inbox-0.12.0 lib/calendar.rb
inbox-0.11.0 lib/calendar.rb
inbox-0.10.1 lib/calendar.rb
inbox-0.10.0 lib/calendar.rb
inbox-0.9.0 lib/calendar.rb
inbox-0.8.1 lib/calendar.rb
inbox-0.8.0 lib/calendar.rb