Class: Barcoder::Page

Inherits:
Base
  • Object
show all
Defined in:
lib/barcoder/page.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#attributes=, #initialize

Constructor Details

This class inherits a constructor from Barcoder::Base

Instance Attribute Details

#idObject

Returns the value of attribute id.



3
4
5
# File 'lib/barcoder/page.rb', line 3

def id
  @id
end

#thumbnailsObject

Returns the value of attribute thumbnails.



3
4
5
# File 'lib/barcoder/page.rb', line 3

def thumbnails
  @thumbnails
end

#url(style = nil) ⇒ Object

Returns the value of attribute url.



3
4
5
# File 'lib/barcoder/page.rb', line 3

def url
  @url
end