lib/relinkly/link.rb in relinkly-1.0.2 vs lib/relinkly/link.rb in relinkly-1.1.0
- old
+ new
@@ -1,12 +1,11 @@
# frozen_string_literal: true
module Relinkly
class Link < Element
- attr_accessor :id, :link_id, :title, :slashtag, :destination, :created_at,
- :updated_at, :status, :tags, :scripts, :forward_parameters,
- :clicks, :last_click_date, :last_click_at, :is_public,
- :short_url, :domain_id, :domain_name, :https, :favourite
+ attr_accessor :id, :link_id, :title, :slashtag, :destination, :created_at, :updated_at, :status,
+ :tags, :scripts, :forward_parameters, :clicks, :last_click_date, :last_click_at,
+ :is_public, :short_url, :domain_id, :domain_name, :https, :favourite
# Associations
%i[domain creator integration].each do |association|
# Creates the getter methods, such as "@instance.domain"
attr_reader association