Class: Harvest::ExpenseCategory

Inherits:
BaseModel show all
Includes:
HappyMapper
Defined in:
lib/harvest/expense_category.rb

Instance Method Summary collapse

Methods inherited from BaseModel

#==, api_path, #attributes=, #initialize, #to_i, #to_xml

Constructor Details

This class inherits a constructor from Harvest::BaseModel

Instance Method Details

#active?Boolean

Returns:

  • (Boolean)


14
15
16
# File 'lib/harvest/expense_category.rb', line 14

def active?
  !deactivated
end