Class: Arbetsformedlingen::Salary
- Defined in:
- lib/arbetsformedlingen/models/salary.rb
Instance Attribute Summary
Attributes inherited from Model
Instance Method Summary collapse
-
#initialize(hash) ⇒ Salary
constructor
A new instance of Salary.
Methods inherited from Model
#errors, from_schema, #to_h, #valid?
Constructor Details
#initialize(hash) ⇒ Salary
Returns a new instance of Salary.
18 19 20 |
# File 'lib/arbetsformedlingen/models/salary.rb', line 18 def initialize(hash) super(SalarySchema.call(hash)) end |