Class: Unfuddler::Ticket::Interacter
- Inherits:
-
Object
- Object
- Unfuddler::Ticket::Interacter
- Defined in:
- lib/unfuddler.rb
Instance Method Summary collapse
- #create(ticket = {}) ⇒ Object
-
#initialize(project_id) ⇒ Interacter
constructor
A new instance of Interacter.
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 |