Class: Zotero::Library

Inherits:
Object
  • Object
show all
Defined in:
lib/zotero/library.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(user_id, key) ⇒ Library

Returns a new instance of Library.



4
5
6
# File 'lib/zotero/library.rb', line 4

def initialize(user_id, key)
  @api = ::Zotero::Api.new(user_id, key)
end

Instance Attribute Details

#collectionsObject (readonly)

Returns the value of attribute collections.



2
3
4
# File 'lib/zotero/library.rb', line 2

def collections
  @collections
end