Class: Tumbling::Photo

Inherits:
Resource show all
Defined in:
lib/tumbling/photo.rb

Defined Under Namespace

Classes: Image

Instance Attribute Summary collapse

Method Summary

Methods inherited from Resource

all, build, #type

Instance Attribute Details

#bodyObject

Returns the value of attribute body.



4
5
6
# File 'lib/tumbling/photo.rb', line 4

def body
  @body
end

#dateObject

Returns the value of attribute date.



4
5
6
# File 'lib/tumbling/photo.rb', line 4

def date
  @date
end

#formatObject

Returns the value of attribute format.



4
5
6
# File 'lib/tumbling/photo.rb', line 4

def format
  @format
end

#idObject

Returns the value of attribute id.



4
5
6
# File 'lib/tumbling/photo.rb', line 4

def id
  @id
end

#imagesObject

Returns the value of attribute images.



4
5
6
# File 'lib/tumbling/photo.rb', line 4

def images
  @images
end

#slugObject

Returns the value of attribute slug.



4
5
6
# File 'lib/tumbling/photo.rb', line 4

def slug
  @slug
end

#titleObject

Returns the value of attribute title.



4
5
6
# File 'lib/tumbling/photo.rb', line 4

def title
  @title
end

#urlObject

Returns the value of attribute url.



4
5
6
# File 'lib/tumbling/photo.rb', line 4

def url
  @url
end