class Bitly::API::Bitlink::LinkClick::List

Attributes

unit[R]
unit_reference[R]
units[R]

Public Class Methods

new(items:, response:, units:, unit_reference:, unit:) click to toggle source
Calls superclass method Bitly::API::List::new
# File lib/bitly/api/bitlink/link_click.rb, line 14
def initialize(items:, response:, units:, unit_reference:, unit:)
  super(items: items, response: response)
  @units = units
  @unit_reference = Time.parse(unit_reference) if unit_reference
  @unit = unit
end