Class: Vk::Stats::SexAge

Inherits:
Base
  • Object
show all
Defined in:
lib/vk/stats.rb

Instance Attribute Summary

Attributes inherited from Base

#attributes

Instance Method Summary collapse

Methods inherited from Base

#fields, find, #id, #id=, #identity_map, inherited, #initialize, #inspect, #key_field, #loader, #logger, method_missing, #method_missing, #read_attribute, #respond_to_missing?, #to_hash

Constructor Details

This class inherits a constructor from Vk::Base

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Vk::Base

Instance Method Details

#ageObject



92
93
94
95
# File 'lib/vk/stats.rb', line 92

def age
  split_sex_age
  @age
end

#sexObject



87
88
89
90
# File 'lib/vk/stats.rb', line 87

def sex
  split_sex_age
  @sex
end