Class: Fiona7::Tasks::Task

Inherits:
Struct
  • Object
show all
Defined in:
lib/fiona7/tasks/task.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#commentObject

Returns the value of attribute comment

Returns:

  • (Object)

    the current value of comment



3
4
5
# File 'lib/fiona7/tasks/task.rb', line 3

def comment
  @comment
end

#group_nameObject

Returns the value of attribute group_name

Returns:

  • (Object)

    the current value of group_name



3
4
5
# File 'lib/fiona7/tasks/task.rb', line 3

def group_name
  @group_name
end

#idObject

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



3
4
5
# File 'lib/fiona7/tasks/task.rb', line 3

def id
  @id
end

#objObject

Returns the value of attribute obj

Returns:

  • (Object)

    the current value of obj



3
4
5
# File 'lib/fiona7/tasks/task.rb', line 3

def obj
  @obj
end

#timestampObject

Returns the value of attribute timestamp

Returns:

  • (Object)

    the current value of timestamp



3
4
5
# File 'lib/fiona7/tasks/task.rb', line 3

def timestamp
  @timestamp
end

#titleObject

Returns the value of attribute title

Returns:

  • (Object)

    the current value of title



3
4
5
# File 'lib/fiona7/tasks/task.rb', line 3

def title
  @title
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



3
4
5
# File 'lib/fiona7/tasks/task.rb', line 3

def type
  @type
end

#user_loginObject

Returns the value of attribute user_login

Returns:

  • (Object)

    the current value of user_login



3
4
5
# File 'lib/fiona7/tasks/task.rb', line 3

def 
  @user_login
end

Instance Method Details

#obj_idObject



4
5
6
# File 'lib/fiona7/tasks/task.rb', line 4

def obj_id
  self.obj.try(:id)
end