class DayoneToolbox::API::EditEntry

Public Instance Methods

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