Class: Book

Inherits:
Struct show all
Defined in:
lib/pragmatic.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from Struct

#to_json, #to_map

Instance Attribute Details

#cover_imgObject

Returns the value of attribute cover_img

Returns:

  • (Object)

    the current value of cover_img



5
6
7
# File 'lib/pragmatic.rb', line 5

def cover_img
  @cover_img
end

#titleObject

Returns the value of attribute title

Returns:

  • (Object)

    the current value of title



5
6
7
# File 'lib/pragmatic.rb', line 5

def title
  @title
end

#urlObject

Returns the value of attribute url

Returns:

  • (Object)

    the current value of url



5
6
7
# File 'lib/pragmatic.rb', line 5

def url
  @url
end