Class: PunyURL

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

Overview

PunyURL

Object that holds the different URLs available on a Puny response

Instance Attribute Summary collapse

Instance Attribute Details

#asciiObject

Returns the value of attribute ascii.



13
14
15
# File 'lib/puny.rb', line 13

def ascii
  @ascii
end

#previewObject

Returns the value of attribute preview.



13
14
15
# File 'lib/puny.rb', line 13

def preview
  @preview
end

#punyObject

Returns the value of attribute puny.



13
14
15
# File 'lib/puny.rb', line 13

def puny
  @puny
end

#urlObject

Returns the value of attribute url.



13
14
15
# File 'lib/puny.rb', line 13

def url
  @url
end