Class: Myxy::Event
- Inherits:
-
Object
- Object
- Myxy::Event
- Includes:
- Resource
- Defined in:
- lib/myxy/resources/event.rb
Instance Attribute Summary
Attributes included from Resource
Instance Method Summary collapse
Methods included from Resource
#base_path, included, #initialize, #method_missing, #save, #set_attribute, #update_params, #valid?, #valid_attribute?, #valid_attributes
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Myxy::Resource
Instance Method Details
#mandatory_attributes ⇒ Object
14 15 16 |
# File 'lib/myxy/resources/event.rb', line 14 def mandatory_attributes [:event_type] end |
#other_attributes ⇒ Object
5 6 7 8 9 10 11 12 |
# File 'lib/myxy/resources/event.rb', line 5 def other_attributes [ :calendar_ids, :start, :end, :start_timezone, :end_timezone, :all_day, :title, :description, :color, :icon, :logo, :source_url, :time_buffer, :start_location, :end_location, :related_event_id, :trip, :length, :is_suggestion, :due, :rsvp_status ] end |