Class: AutotaskRuby::Appointment
- Inherits:
-
Object
- Object
- AutotaskRuby::Appointment
- Includes:
- Entity
- Defined in:
- lib/autotask_ruby/appointment.rb
Overview
Represents an AutoTask Appointment Entity
Constant Summary collapse
- FIELDS =
%i[id Title Description ResourceID StartDateTime EndDateTime CreateDateTime UpdateDateTime].freeze .each do |field| attr_accessor :"#{field.to_s.underscore}" end
Constants included from Constants
Constants::AUTOTASK_TIME_FORMAT
Instance Method Summary collapse
Methods included from Entity
#build, #create, #field_set, #fields_to_xml, #format_field_to_xml, included, #initialize, #to_bool, #to_date_time, #update
Methods included from Association
#belongs_to, #has_many, #has_one
Instance Method Details
#post_initialize ⇒ Object
13 14 15 |
# File 'lib/autotask_ruby/appointment.rb', line 13 def post_initialize belongs_to :resource end |