Class: Arbetsformedlingen::Qualification

Inherits:
Model
  • Object
show all
Defined in:
lib/arbetsformedlingen/models/qualification.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) ⇒ Qualification

Returns a new instance of Qualification.



21
22
23
# File 'lib/arbetsformedlingen/models/qualification.rb', line 21

def initialize(hash)
  super(QualificationSchema.call(hash))
end