class Clubhouse::Task

Public Class Methods

api_url() click to toggle source
# File lib/clubhouse2/task.rb, line 10
def self.api_url
        'tasks'
end
properties() click to toggle source
# File lib/clubhouse2/task.rb, line 3
def self.properties
        [
                :complete, :completed_at, :created_at, :description, :entity_type, :external_id, :id, :mention_ids, :owner_ids,
                :position, :story_id, :updated_at
        ]
end

Public Instance Methods

to_h() click to toggle source
Calls superclass method Clubhouse::ClubhouseResource#to_h
# File lib/clubhouse2/task.rb, line 14
def to_h
        super.reject { |k, v| [ :story_id ].include? k }
end