class DayoneToolbox::API::SearchEntry
Public Instance Methods
exec()
click to toggle source
# File lib/dayone_toolbox/api.rb, line 33 def exec @result = plist_options < @entry.to_h self end
plist_options()
click to toggle source
# File lib/dayone_toolbox/api.rb, line 25 def plist_options new_options = {} @options.map do |k, v| new_options.merge!(DayoneToolbox::Entry.entry_attributes[k] => v) end new_options end