Class: Vk::API::Stats::Period
- Inherits:
-
Schema::Object
- Object
- Dry::Struct
- Schema::Object
- Vk::API::Stats::Period
- Defined in:
- lib/vk/api/stats/period.rb
Overview
Instance Method Summary collapse
- #age ⇒ Array
- #cities ⇒ Array
- #countries ⇒ Array
-
#day ⇒ String
Day (YYYY-MM-DD).
-
#reach ⇒ Integer
Total reach.
-
#reach_subscribers ⇒ Integer
Subscribers reach.
- #sex ⇒ Array
- #sex_age ⇒ Array
-
#subscribed ⇒ Integer
Number of users subscribed.
-
#unsubscribed ⇒ Integer
Number of users unsubscribed.
-
#views ⇒ Integer
Views number.
-
#visitors ⇒ Integer
Visitors number.
Instance Method Details
#age ⇒ Array
27 |
# File 'lib/vk/api/stats/period.rb', line 27 attribute :age, API::Types::Coercible::Array.member(API::Types::Coercible::Hash).optional.default(nil) |
#cities ⇒ Array
31 |
# File 'lib/vk/api/stats/period.rb', line 31 attribute :cities, API::Types::Coercible::Array.member(API::Types::Coercible::Hash).optional.default(nil) |
#countries ⇒ Array
33 |
# File 'lib/vk/api/stats/period.rb', line 33 attribute :countries, API::Types::Coercible::Array.member(API::Types::Coercible::Hash).optional.default(nil) |
#day ⇒ String
Returns Day (YYYY-MM-DD).
11 |
# File 'lib/vk/api/stats/period.rb', line 11 attribute :day, API::Types::Coercible::String.optional.default(nil) |
#reach ⇒ Integer
Returns Total reach.
17 |
# File 'lib/vk/api/stats/period.rb', line 17 attribute :reach, API::Types::Coercible::Int.optional.default(nil) |
#reach_subscribers ⇒ Integer
Returns Subscribers reach.
19 |
# File 'lib/vk/api/stats/period.rb', line 19 attribute :reach_subscribers, API::Types::Coercible::Int.optional.default(nil) |
#sex ⇒ Array
25 |
# File 'lib/vk/api/stats/period.rb', line 25 attribute :sex, API::Types::Coercible::Array.member(API::Types::Coercible::Hash).optional.default(nil) |
#sex_age ⇒ Array
29 |
# File 'lib/vk/api/stats/period.rb', line 29 attribute :sex_age, API::Types::Coercible::Array.member(API::Types::Coercible::Hash).optional.default(nil) |
#subscribed ⇒ Integer
Returns Number of users subscribed.
21 |
# File 'lib/vk/api/stats/period.rb', line 21 attribute :subscribed, API::Types::Coercible::Int.optional.default(nil) |
#unsubscribed ⇒ Integer
Returns Number of users unsubscribed.
23 |
# File 'lib/vk/api/stats/period.rb', line 23 attribute :unsubscribed, API::Types::Coercible::Int.optional.default(nil) |