Sha256: b75553afc0101513ac51b708849c50c9784c0c4b3693fe0c94df6dbaf9d69cdd

Contents?: true

Size: 235 Bytes

Versions: 5

Compression:

Stored size: 235 Bytes

Contents

module Orange
  class CalendarResource < ModelResource
    use OrangeCalendar
    call_me :calendar
    
    def afterNew(packet, obj, opts = {})
      obj.orange_site = packet['site'] unless obj.orange_site
    end
    
    
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
orange-0.2.6 lib/orange-more/events/resources/calendar_resource.rb
orange-0.2.5 lib/orange-more/events/resources/calendar_resource.rb
orange-0.2.4 lib/orange-more/events/resources/calendar_resource.rb
orange-0.2.3 lib/orange-more/events/resources/calendar_resource.rb
orange-0.1.10 lib/orange-more/events/resources/calendar_resource.rb