Class: Cb::Criteria::Resumes::GetByHash
- Inherits:
-
Object
- Object
- Cb::Criteria::Resumes::GetByHash
- Extended by:
- Utils::FluidAttributes
- Defined in:
- lib/cb/criteria/resumes/get_by_hash.rb
Instance Method Summary collapse
-
#initialize(args = {}) ⇒ GetByHash
constructor
A new instance of GetByHash.
- #to_hash ⇒ Object (also: #to_h)
Methods included from Utils::FluidAttributes
Constructor Details
#initialize(args = {}) ⇒ GetByHash
Returns a new instance of GetByHash.
19 20 21 22 |
# File 'lib/cb/criteria/resumes/get_by_hash.rb', line 19 def initialize(args = {}) @resume_hash = args[:resumeHash] || '' @external_user_id = args[:externalUserID] || '' end |
Instance Method Details
#to_hash ⇒ Object Also known as: to_h
24 25 26 |
# File 'lib/cb/criteria/resumes/get_by_hash.rb', line 24 def to_hash { resume_hash: @resume_hash, external_user_id: @external_user_id } end |