Class: PinterestURLNormalizer::ParsedURL

Inherits:
Struct
  • Object
show all
Defined in:
lib/pinterest_url_normalizer.rb

Overview

A supported Pinterest URL and its canonical fields.

Instance Attribute Summary collapse

Instance Attribute Details

#board_slugObject

Returns the value of attribute board_slug

Returns:

  • (Object)

    the current value of board_slug



40
41
42
# File 'lib/pinterest_url_normalizer.rb', line 40

def board_slug
  @board_slug
end

#hostObject

Returns the value of attribute host

Returns:

  • (Object)

    the current value of host



40
41
42
# File 'lib/pinterest_url_normalizer.rb', line 40

def host
  @host
end

#idea_idObject

Returns the value of attribute idea_id

Returns:

  • (Object)

    the current value of idea_id



40
41
42
# File 'lib/pinterest_url_normalizer.rb', line 40

def idea_id
  @idea_id
end

#idea_slugObject

Returns the value of attribute idea_slug

Returns:

  • (Object)

    the current value of idea_slug



40
41
42
# File 'lib/pinterest_url_normalizer.rb', line 40

def idea_slug
  @idea_slug
end

#kindObject

Returns the value of attribute kind

Returns:

  • (Object)

    the current value of kind



40
41
42
# File 'lib/pinterest_url_normalizer.rb', line 40

def kind
  @kind
end

#normalized_urlObject

Returns the value of attribute normalized_url

Returns:

  • (Object)

    the current value of normalized_url



40
41
42
# File 'lib/pinterest_url_normalizer.rb', line 40

def normalized_url
  @normalized_url
end

#original_urlObject

Returns the value of attribute original_url

Returns:

  • (Object)

    the current value of original_url



40
41
42
# File 'lib/pinterest_url_normalizer.rb', line 40

def original_url
  @original_url
end

#pin_idObject

Returns the value of attribute pin_id

Returns:

  • (Object)

    the current value of pin_id



40
41
42
# File 'lib/pinterest_url_normalizer.rb', line 40

def pin_id
  @pin_id
end

#shortcodeObject

Returns the value of attribute shortcode

Returns:

  • (Object)

    the current value of shortcode



40
41
42
# File 'lib/pinterest_url_normalizer.rb', line 40

def shortcode
  @shortcode
end

#usernameObject

Returns the value of attribute username

Returns:

  • (Object)

    the current value of username



40
41
42
# File 'lib/pinterest_url_normalizer.rb', line 40

def username
  @username
end