Module: Yinx
- Defined in:
- lib/yinx.rb,
lib/yinx/version.rb,
lib/yinx/note_store.rb,
lib/yinx/user_store.rb,
lib/yinx/down_config.rb
Defined Under Namespace
Classes: DownConfig, NoteMeta, NoteStore, UserStore
Constant Summary collapse
- Ex_Result =
[:includeDeleted, :includeUpdateSequenceNum, :includeAttributes, :includeLargestResourceMime, :includeLargestResourceSize]
- Result =
(NoteStore::NOTE_META_RESULT_SPECS - Ex_Result).reduce({}) do |hash, attr_present| hash[attr_present] = true; hash end
- VERSION =
"0.1.4"
Class Attribute Summary collapse
-
.config ⇒ Object
readonly
Returns the value of attribute config.
Class Method Summary collapse
Class Attribute Details
.config ⇒ Object (readonly)
Returns the value of attribute config.
19 20 21 |
# File 'lib/yinx.rb', line 19 def config @config end |
Class Method Details
.fetch(real = true, &block) ⇒ Object
21 22 23 24 25 26 |
# File 'lib/yinx.rb', line 21 def fetch real = true, &block @real = real @config = DownConfig.new note_store config.instance_eval &block download end |
.fetch_all ⇒ Object
28 29 30 |
# File 'lib/yinx.rb', line 28 def fetch_all fetch {book /./} end |