Class: One40Proof::ActionUrls
- Inherits:
-
Object
- Object
- One40Proof::ActionUrls
- Defined in:
- lib/one40_proof/attributes/action_urls.rb
Instance Method Summary collapse
- #click_url ⇒ Object
- #favorite_url ⇒ Object (also: #favourite_url)
- #friendship_url ⇒ Object
- #impression_url ⇒ Object
-
#initialize(data) ⇒ ActionUrls
constructor
A new instance of ActionUrls.
- #reply_url ⇒ Object
- #retweet_url ⇒ Object
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_url ⇒ Object
8 9 10 |
# File 'lib/one40_proof/attributes/action_urls.rb', line 8 def click_url @data['click_url'] end |
#favorite_url ⇒ Object 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_url ⇒ Object
21 22 23 |
# File 'lib/one40_proof/attributes/action_urls.rb', line 21 def friendship_url @data['friendship_url'] end |
#impression_url ⇒ Object
17 18 19 |
# File 'lib/one40_proof/attributes/action_urls.rb', line 17 def impression_url @data['impression_url'] end |
#reply_url ⇒ Object
25 26 27 |
# File 'lib/one40_proof/attributes/action_urls.rb', line 25 def reply_url @data['reply_url'] end |
#retweet_url ⇒ Object
29 30 31 |
# File 'lib/one40_proof/attributes/action_urls.rb', line 29 def retweet_url @data['retweet_url'] end |