Class: Arbetsformedlingen::ApplicationMethod

Inherits:
Model
  • Object
show all
Defined in:
lib/arbetsformedlingen/models/application_method.rb

Instance Attribute Summary

Attributes inherited from Model

#schema

Instance Method Summary collapse

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