Class: One40Proof::ActionUrls

Inherits:
Object
  • Object
show all
Defined in:
lib/one40_proof/attributes/action_urls.rb

Instance Method Summary collapse

Constructor Details

#initialize(data) ⇒ ActionUrls

Returns a new instance of ActionUrls.



4
5
6
# File 'lib/one40_proof/attributes/action_urls.rb', line 4

def initialize(data)
  @data = data
end

Instance Method Details

#click_urlObject



8
9
10
# File 'lib/one40_proof/attributes/action_urls.rb', line 8

def click_url
  @data['click_url']
end

#favorite_urlObject Also known as: favourite_url



12
13
14
# File 'lib/one40_proof/attributes/action_urls.rb', line 12

def favorite_url
  @data['favorite_url']
end

#friendship_urlObject



21
22
23
# File 'lib/one40_proof/attributes/action_urls.rb', line 21

def friendship_url
  @data['friendship_url']
end

#impression_urlObject



17
18
19
# File 'lib/one40_proof/attributes/action_urls.rb', line 17

def impression_url
  @data['impression_url']
end

#reply_urlObject



25
26
27
# File 'lib/one40_proof/attributes/action_urls.rb', line 25

def reply_url
  @data['reply_url']
end

#retweet_urlObject



29
30
31
# File 'lib/one40_proof/attributes/action_urls.rb', line 29

def retweet_url
  @data['retweet_url']
end