Class: SmartRecruiters::Object
- Inherits:
-
Object
- Object
- SmartRecruiters::Object
- Defined in:
- lib/smartrecruiters/object.rb
Direct Known Subclasses
AccessGroup, Attachment, CallbacksLog, Candidate, Department, Interview, Job, Offer, Posting, Report, ReportFile, Review, SystemRole, User, Webhook
Instance Method Summary collapse
-
#initialize(attributes) ⇒ Object
constructor
A new instance of Object.
- #method_missing(method, *args, &block) ⇒ Object
- #respond_to_missing?(_method, _include_private = false) ⇒ Boolean
Constructor Details
#initialize(attributes) ⇒ Object
Returns a new instance of Object.
7 8 9 |
# File 'lib/smartrecruiters/object.rb', line 7 def initialize(attributes) @attributes = OpenStruct.new(attributes) end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
Instance Method Details
#respond_to_missing?(_method, _include_private = false) ⇒ Boolean
16 17 18 |
# File 'lib/smartrecruiters/object.rb', line 16 def respond_to_missing?(_method, _include_private = false) true end |