Method: Tenk::TimeEntries#update

Defined in:
lib/time_entries.rb

#update(id, opts = {}) ⇒ Hashie::Mash

Update a TimeEntry for this account

Parameters:

  • id (Integer)

    the id of the TimeEntry

  • opts (Hash) (defaults to: {})

    the attributes of the TimeEntry to update

Returns:

  • (Hashie::Mash)

    the API response as a Hashie::Mash

See Also:



63
64
65
# File 'lib/time_entries.rb', line 63

def update(id, opts = {})
  super(id, UpdateRequest.new(opts))
end