Class: Harvest::Resources::Expense

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

Overview

Instance Attribute Summary collapse

Instance Attribute Details

#billableObject

Returns the value of attribute billable

Returns:

  • (Object)

    the current value of billable



68
69
70
# File 'lib/harvest/resources/expenses.rb', line 68

def billable
  @billable
end

#clientObject

Returns the value of attribute client

Returns:

  • (Object)

    the current value of client



68
69
70
# File 'lib/harvest/resources/expenses.rb', line 68

def client
  @client
end

#created_atObject

Returns the value of attribute created_at

Returns:

  • (Object)

    the current value of created_at



68
69
70
# File 'lib/harvest/resources/expenses.rb', line 68

def created_at
  @created_at
end

#expense_categoryObject

Returns the value of attribute expense_category

Returns:

  • (Object)

    the current value of expense_category



68
69
70
# File 'lib/harvest/resources/expenses.rb', line 68

def expense_category
  @expense_category
end

#idObject

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



68
69
70
# File 'lib/harvest/resources/expenses.rb', line 68

def id
  @id
end

#invoiceObject

Returns the value of attribute invoice

Returns:

  • (Object)

    the current value of invoice



68
69
70
# File 'lib/harvest/resources/expenses.rb', line 68

def invoice
  @invoice
end

#is_billedObject

Returns the value of attribute is_billed

Returns:

  • (Object)

    the current value of is_billed



68
69
70
# File 'lib/harvest/resources/expenses.rb', line 68

def is_billed
  @is_billed
end

#is_closedObject

Returns the value of attribute is_closed

Returns:

  • (Object)

    the current value of is_closed



68
69
70
# File 'lib/harvest/resources/expenses.rb', line 68

def is_closed
  @is_closed
end

#is_lockedObject

Returns the value of attribute is_locked

Returns:

  • (Object)

    the current value of is_locked



68
69
70
# File 'lib/harvest/resources/expenses.rb', line 68

def is_locked
  @is_locked
end

#locked_reasonObject

Returns the value of attribute locked_reason

Returns:

  • (Object)

    the current value of locked_reason



68
69
70
# File 'lib/harvest/resources/expenses.rb', line 68

def locked_reason
  @locked_reason
end

#notesObject

Returns the value of attribute notes

Returns:

  • (Object)

    the current value of notes



68
69
70
# File 'lib/harvest/resources/expenses.rb', line 68

def notes
  @notes
end

#projectObject

Returns the value of attribute project

Returns:

  • (Object)

    the current value of project



68
69
70
# File 'lib/harvest/resources/expenses.rb', line 68

def project
  @project
end

#receiptObject

Returns the value of attribute receipt

Returns:

  • (Object)

    the current value of receipt



68
69
70
# File 'lib/harvest/resources/expenses.rb', line 68

def receipt
  @receipt
end

#spent_dateObject

Returns the value of attribute spent_date

Returns:

  • (Object)

    the current value of spent_date



68
69
70
# File 'lib/harvest/resources/expenses.rb', line 68

def spent_date
  @spent_date
end

#updated_atObject

Returns the value of attribute updated_at

Returns:

  • (Object)

    the current value of updated_at



68
69
70
# File 'lib/harvest/resources/expenses.rb', line 68

def updated_at
  @updated_at
end

#userObject

Returns the value of attribute user

Returns:

  • (Object)

    the current value of user



68
69
70
# File 'lib/harvest/resources/expenses.rb', line 68

def user
  @user
end

#user_assignmentObject

Returns the value of attribute user_assignment

Returns:

  • (Object)

    the current value of user_assignment



68
69
70
# File 'lib/harvest/resources/expenses.rb', line 68

def user_assignment
  @user_assignment
end