Class: PinterestURLNormalizer::ParsedURL
- Inherits:
-
Struct
- Object
- Struct
- PinterestURLNormalizer::ParsedURL
- Defined in:
- lib/pinterest_url_normalizer.rb
Overview
A supported Pinterest URL and its canonical fields.
Instance Attribute Summary collapse
-
#board_slug ⇒ Object
Returns the value of attribute board_slug.
-
#host ⇒ Object
Returns the value of attribute host.
-
#idea_id ⇒ Object
Returns the value of attribute idea_id.
-
#idea_slug ⇒ Object
Returns the value of attribute idea_slug.
-
#kind ⇒ Object
Returns the value of attribute kind.
-
#normalized_url ⇒ Object
Returns the value of attribute normalized_url.
-
#original_url ⇒ Object
Returns the value of attribute original_url.
-
#pin_id ⇒ Object
Returns the value of attribute pin_id.
-
#shortcode ⇒ Object
Returns the value of attribute shortcode.
-
#username ⇒ Object
Returns the value of attribute username.
Instance Attribute Details
#board_slug ⇒ Object
Returns the value of attribute board_slug
40 41 42 |
# File 'lib/pinterest_url_normalizer.rb', line 40 def board_slug @board_slug end |
#host ⇒ Object
Returns the value of attribute host
40 41 42 |
# File 'lib/pinterest_url_normalizer.rb', line 40 def host @host end |
#idea_id ⇒ Object
Returns the value of attribute idea_id
40 41 42 |
# File 'lib/pinterest_url_normalizer.rb', line 40 def idea_id @idea_id end |
#idea_slug ⇒ Object
Returns the value of attribute idea_slug
40 41 42 |
# File 'lib/pinterest_url_normalizer.rb', line 40 def idea_slug @idea_slug end |
#kind ⇒ Object
Returns the value of attribute kind
40 41 42 |
# File 'lib/pinterest_url_normalizer.rb', line 40 def kind @kind end |
#normalized_url ⇒ Object
Returns the value of attribute normalized_url
40 41 42 |
# File 'lib/pinterest_url_normalizer.rb', line 40 def normalized_url @normalized_url end |
#original_url ⇒ Object
Returns the value of attribute original_url
40 41 42 |
# File 'lib/pinterest_url_normalizer.rb', line 40 def original_url @original_url end |
#pin_id ⇒ Object
Returns the value of attribute pin_id
40 41 42 |
# File 'lib/pinterest_url_normalizer.rb', line 40 def pin_id @pin_id end |
#shortcode ⇒ Object
Returns the value of attribute shortcode
40 41 42 |
# File 'lib/pinterest_url_normalizer.rb', line 40 def shortcode @shortcode end |
#username ⇒ Object
Returns the value of attribute username
40 41 42 |
# File 'lib/pinterest_url_normalizer.rb', line 40 def username @username end |