Class: Beanie::Journal

Inherits:
Api
  • Object
show all
Defined in:
lib/beanie/journal.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#initializeJournal

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

#dateObject

Returns the value of attribute date.



32
33
34
# File 'lib/beanie/journal.rb', line 32

def date
  @date
end

#folioObject

Returns the value of attribute folio.



32
33
34
# File 'lib/beanie/journal.rb', line 32

def folio
  @folio
end

#idObject

Returns the value of attribute id.



32
33
34
# File 'lib/beanie/journal.rb', line 32

def id
  @id
end

#numberObject

Returns the value of attribute number.



32
33
34
# File 'lib/beanie/journal.rb', line 32

def number
  @number
end

#titleObject

Returns the value of attribute title.



32
33
34
# File 'lib/beanie/journal.rb', line 32

def title
  @title
end