class Arbetsformedlingen::API::Values::SoklistaPage
Public Instance Methods
each(&block)
click to toggle source
# File lib/arbetsformedlingen/api/values/soklista_values.rb, line 17 def each(&block) data.each(&block) end
method_missing(method_name, *arguments, &block)
click to toggle source
Calls superclass method
# File lib/arbetsformedlingen/api/values/soklista_values.rb, line 28 def method_missing(method_name, *arguments, &block) if response.respond_to?(method_name) response.public_send(method_name, *arguments, &block) else super end end
respond_to_missing?(method_name, include_private = false)
click to toggle source
Calls superclass method
# File lib/arbetsformedlingen/api/values/soklista_values.rb, line 36 def respond_to_missing?(method_name, include_private = false) response.respond_to?(method_name) || super end
to_h()
click to toggle source
Calls superclass method
# File lib/arbetsformedlingen/api/values/soklista_values.rb, line 21 def to_h hash = super.to_h hash.delete(:response) # don't return the raw response object hash[:data].map!(&:to_h) hash end