Class: OpenGraphReader::Book

Inherits:
Object
  • Object
show all
Includes:
Object
Defined in:
lib/open_graph_reader/definitions.rb

Overview

Instance Attribute Summary collapse

Attributes included from Object

#children, #content, #properties

Method Summary

Methods included from Object

#[], #[]=, #initialize, #property?, #to_s

Instance Attribute Details

#authorProfile?

TODO:

This one is a reference to another OpenGraph object. Support fetching it?

Returns:



272
# File 'lib/open_graph_reader/definitions.rb', line 272

url :author, collection: true, to: Profile

#authorsArray<Profile> (readonly)

Returns:



272
# File 'lib/open_graph_reader/definitions.rb', line 272

url :author, collection: true, to: Profile

#isbnSring?

Returns:

  • (Sring, nil)


276
# File 'lib/open_graph_reader/definitions.rb', line 276

string :isbn

#release_dateDateTime?

Returns:

  • (DateTime, nil)


280
# File 'lib/open_graph_reader/definitions.rb', line 280

datetime :release_date

#tagString?

Returns:

  • (String, nil)


286
# File 'lib/open_graph_reader/definitions.rb', line 286

string :tag, collection: true

#tagsArray<String> (readonly)

Returns:

  • (Array<String>)


286
# File 'lib/open_graph_reader/definitions.rb', line 286

string :tag, collection: true