Class: Access::Info

Inherits:
Object
  • Object
show all
Includes:
MuchMeta
Defined in:
lib/access/info.rb

Instance Method Summary collapse

Methods included from MuchMeta

#set_up_methods, #set_values

Constructor Details

#initialize(values) ⇒ Info

Returns a new instance of Info.



5
6
7
8
9
10
# File 'lib/access/info.rb', line 5

def initialize(values)
  @used_fields = []
  set_up_methods(values)
  set_values(values)
  @geolocation = Access::Geolocation.new(@geolocation) if @geolocation
end