Class: IknowParams::Serializer::Duration

Inherits:
ISO8601 show all
Defined in:
lib/iknow_params/serializer.rb

Instance Attribute Summary

Attributes inherited from IknowParams::Serializer

#clazz

Instance Method Summary collapse

Methods inherited from ISO8601

#dump, #load

Methods inherited from IknowParams::Serializer

#dump, for, for!, json_value?, #load, #matches_type!, #matches_type?, singleton

Constructor Details

#initializeDuration

Returns a new instance of Duration.



210
211
212
# File 'lib/iknow_params/serializer.rb', line 210

def initialize
  super(::ActiveSupport::Duration)
end