class DayoneToolbox::API::FetchEntry

Public Instance Methods

exec() click to toggle source
# File lib/dayone_toolbox/api.rb, line 90
def exec
  hash = {}
  @options.each do |k, v|
    hash.merge!({ "#{k}" => @entry.send(k)})
  end
  @result = hash
  self
end