Class: TocDoc::VisitMotive
- Defined in:
- lib/toc_doc/models/visit_motive.rb
Overview
Represents a visit motive (reason for consultation) returned by the booking info endpoint.
The +id+ and +name+ fields are the primary attributes. Additional fields such as +restrictions+ are accessible via dot-notation inherited from Resource.
Instance Attribute Summary
Attributes inherited from Resource
Method Summary
Methods inherited from Resource
#==, #[], #[]=, #attribute_names, #initialize, #inspect, main_attrs, #method_missing, normalize_attrs, #to_h, #to_json
Constructor Details
This class inherits a constructor from TocDoc::Resource
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class TocDoc::Resource