Sha256: c64c724b07d277d62dd3bd9eb298ff13e8d131184eef47cbfd79c444a1297cb5

Contents?: true

Size: 320 Bytes

Versions: 20

Compression:

Stored size: 320 Bytes

Contents

module Bitly
  module V3
    class Referrer
      attr_reader :clicks, :referrer, :referrer_app, :url
    
      def initialize(opts)
        ['clicks', 'referrer', 'referrer_app', 'url'].each do |attribute|
          instance_variable_set("@#{attribute}".to_sym, opts[attribute])
        end
      end
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
bitly-1.1.2 lib/bitly/v3/referrer.rb
bitly-1.1.1 lib/bitly/v3/referrer.rb
bitly-1.1.0 lib/bitly/v3/referrer.rb
bitly-1.0.2 lib/bitly/v3/referrer.rb
bitly-1.0.1 lib/bitly/v3/referrer.rb
bitly-1.0.0 lib/bitly/v3/referrer.rb
bitly-0.10.4 lib/bitly/v3/referrer.rb
bitly-0.10.3 lib/bitly/v3/referrer.rb
bitly-0.10.2 lib/bitly/v3/referrer.rb
bitly-0.10.1 lib/bitly/v3/referrer.rb
bitly-0.10.0 lib/bitly/v3/referrer.rb
bitly-0.9.0 lib/bitly/v3/referrer.rb
bitly-0.8.1 lib/bitly/v3/referrer.rb
bitly-0.8.0 lib/bitly/v3/referrer.rb
bitly-0.7.0 lib/bitly/v3/referrer.rb
bitly-0.6.2 lib/bitly/v3/referrer.rb
bitly-0.6.1 lib/bitly/v3/referrer.rb
bitly-0.6.0 lib/bitly/v3/referrer.rb
bitly-0.5.5 lib/bitly/v3/referrer.rb
bitly-0.5.4 lib/bitly/v3/referrer.rb