Sha256: 7a3897726bb17897501d62d4765832c206ceec5bca0557b88714c3a85a769c73

Contents?: true

Size: 260 Bytes

Versions: 10

Compression:

Stored size: 260 Bytes

Contents

require 'restful_model'
require 'event'

module Inbox
  class Calendar < RestfulModel

    parameter :name
    parameter :description

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

  end
end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
nylas-0.15.7d lib/calendar.rb
inbox-0.15.7d lib/calendar.rb
nylas-0.15.7c lib/calendar.rb
nylas-0.15.7b lib/calendar.rb
nylas-0.15.7 lib/calendar.rb
nylas-0.15.6 lib/calendar.rb
nylas-0.15.5 lib/calendar.rb
inbox-0.15.4 lib/calendar.rb
inbox-0.15.3 lib/calendar.rb
inbox-0.15.2 lib/calendar.rb