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.
9 10 11 12 |
# File 'lib/cb/criteria/resumes/get_by_hash.rb', line 9 def initialize(args = {}) @resume_hash = args[:resumeHash] || '' @external_user_id = args[:externalUserID] || '' end |
Instance Method Details
#to_hash ⇒ Object Also known as: to_h
14 15 16 |
# File 'lib/cb/criteria/resumes/get_by_hash.rb', line 14 def to_hash { :resume_hash => @resume_hash, :external_user_id => @external_user_id } end |