Class: Beanie::Journal
Instance Attribute Summary collapse
-
#date ⇒ Object
Returns the value of attribute date.
-
#folio ⇒ Object
Returns the value of attribute folio.
-
#id ⇒ Object
Returns the value of attribute id.
-
#number ⇒ Object
Returns the value of attribute number.
-
#title ⇒ Object
Returns the value of attribute title.
Instance Method Summary collapse
-
#initialize ⇒ Journal
constructor
Initialize instance variables.
Methods inherited from Api
all, build_url, #construct_path, delete, #extract, #field_name, find, get, #object_name, #populate, post, put, #save!, set_headers
Constructor Details
#initialize ⇒ Journal
Initialize instance variables
36 37 38 39 40 41 42 |
# File 'lib/beanie/journal.rb', line 36 def initialize @id = nil @date = nil @folio = nil @title = nil @number = nil end |
Instance Attribute Details
#date ⇒ Object
Returns the value of attribute date.
32 33 34 |
# File 'lib/beanie/journal.rb', line 32 def date @date end |
#folio ⇒ Object
Returns the value of attribute folio.
32 33 34 |
# File 'lib/beanie/journal.rb', line 32 def folio @folio end |
#id ⇒ Object
Returns the value of attribute id.
32 33 34 |
# File 'lib/beanie/journal.rb', line 32 def id @id end |
#number ⇒ Object
Returns the value of attribute number.
32 33 34 |
# File 'lib/beanie/journal.rb', line 32 def number @number end |
#title ⇒ Object
Returns the value of attribute title.
32 33 34 |
# File 'lib/beanie/journal.rb', line 32 def title @title end |