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