Class: SBF::Client::ShaveSchedule::ShaveScheduleAssignment

Inherits:
BaseEntity
  • Object
show all
Defined in:
lib/stbaldricks/entities/shave_schedule.rb

Defined Under Namespace

Modules: Type

Constant Summary

Constants inherited from BaseEntity

BaseEntity::ELSE

Instance Attribute Summary collapse

Attributes inherited from BaseEntity

#errors

Method Summary

Methods inherited from BaseEntity

allow_instantiation?, attr_accessor, attr_reader, attr_writer, collection_attributes, defined_attributes, #destroyed?, #dirty_data, entity_attr_accessor, entity_attr_reader, entity_attr_writer, entity_attributes, entity_collection_attr_accessor, entity_collection_attr_reader, entity_collection_attr_writer, #error, inherited, #initialize, #keys_hash, #model_name, multitype_attr_accessor, multitype_attr_reader, multitype_attr_writer, multitype_collection_attr_accessor, multitype_collection_attr_reader, multitype_collection_attr_writer, #not_provided_attributes, optional_attributes, #persisted?, #reload!, #reload_recursive, #rollback!, #to_hash, #to_json, #to_partial

Methods included from EntityResponseConcern

#add_errors, #data, #error?, #errors?, #errors_http_code=, #http_code, #success?

Constructor Details

This class inherits a constructor from SBF::Client::BaseEntity

Instance Attribute Details

#idObject

Returns the value of attribute id.



34
35
36
# File 'lib/stbaldricks/entities/shave_schedule.rb', line 34

def id
  @id
end

#is_notification_sentObject

Returns the value of attribute is_notification_sent.



37
38
39
# File 'lib/stbaldricks/entities/shave_schedule.rb', line 37

def is_notification_sent
  @is_notification_sent
end

#participantObject

Returns the value of attribute participant.



36
37
38
# File 'lib/stbaldricks/entities/shave_schedule.rb', line 36

def participant
  @participant
end

#shave_timeObject

Returns the value of attribute shave_time.



38
39
40
# File 'lib/stbaldricks/entities/shave_schedule.rb', line 38

def shave_time
  @shave_time
end

#typeObject

Returns the value of attribute type.



35
36
37
# File 'lib/stbaldricks/entities/shave_schedule.rb', line 35

def type
  @type
end