Class: Bitly::API::ClickMetric::Referrers

Inherits:
List
  • Object
show all
Defined in:
lib/bitly/api/click_metric.rb

Instance Attribute Summary collapse

Attributes inherited from List

#response

Instance Method Summary collapse

Methods inherited from List

#each

Constructor Details

#initialize(items:, response:, network:) ⇒ Referrers

Returns a new instance of Referrers.



31
32
33
34
# File 'lib/bitly/api/click_metric.rb', line 31

def initialize(items:, response:, network:)
  super(items: items, response: response)
  @network = network
end

Instance Attribute Details

#networkObject (readonly)

Returns the value of attribute network.



30
31
32
# File 'lib/bitly/api/click_metric.rb', line 30

def network
  @network
end