Class: Unfuddler::Ticket::Interacter

Inherits:
Object
  • Object
show all
Defined in:
lib/unfuddler.rb

Instance Method Summary collapse

Constructor Details

#initialize(project_id) ⇒ Interacter

Returns a new instance of Interacter.



151
152
153
# File 'lib/unfuddler.rb', line 151

def initialize(project_id)
  @project_id = project_id
end

Instance Method Details

#create(ticket = {}) ⇒ Object



155
156
157
158
# File 'lib/unfuddler.rb', line 155

def create(ticket = {})
  ticket = Ticket.new(ticket)
  ticket.create(@project_id)
end