Class: Harvest::Resources::ExpenseCategory

Inherits:
Struct
  • Object
show all
Defined in:
lib/harvest/resources/expenses.rb

Overview

Instance Attribute Summary collapse

Instance Attribute Details

#created_atObject

Returns the value of attribute created_at

Returns:

  • (Object)

    the current value of created_at



19
20
21
# File 'lib/harvest/resources/expenses.rb', line 19

def created_at
  @created_at
end

#idObject

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



19
20
21
# File 'lib/harvest/resources/expenses.rb', line 19

def id
  @id
end

#is_activeObject

Returns the value of attribute is_active

Returns:

  • (Object)

    the current value of is_active



19
20
21
# File 'lib/harvest/resources/expenses.rb', line 19

def is_active
  @is_active
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



19
20
21
# File 'lib/harvest/resources/expenses.rb', line 19

def name
  @name
end

#unit_nameObject

Returns the value of attribute unit_name

Returns:

  • (Object)

    the current value of unit_name



19
20
21
# File 'lib/harvest/resources/expenses.rb', line 19

def unit_name
  @unit_name
end

#unit_priceObject

Returns the value of attribute unit_price

Returns:

  • (Object)

    the current value of unit_price



19
20
21
# File 'lib/harvest/resources/expenses.rb', line 19

def unit_price
  @unit_price
end

#updated_atObject

Returns the value of attribute updated_at

Returns:

  • (Object)

    the current value of updated_at



19
20
21
# File 'lib/harvest/resources/expenses.rb', line 19

def updated_at
  @updated_at
end