Sha256: 1eb89c5f25165e61774cbe33fa1bf03667ad48036b4e821cb57f52372795dcbb

Contents?: true

Size: 375 Bytes

Versions: 1

Compression:

Stored size: 375 Bytes

Contents

require 'active_record'
require 'wlog/domain/log_entry'

module Wlog
# The invoice domain object - use this to manipulate invoice recordings, or
# this along with some renderer and templates in order to create said invoices.
# @author Simon Symeonidis
class Invoice < ActiveRecord::Base

  def log_entries_within_dates
    LogEntry.where(created_at: from..to)
  end

end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
wlog-1.2.2 lib/wlog/domain/invoice.rb