You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you want to create a new adapter check these 2 adapters how they are implemented. Essentially you need to implement the following methods for each ticket:
17
+
18
+
```ruby
19
+
20
+
classXXXTicket
21
+
definitialize(options= {})
22
+
end
23
+
24
+
#deprecated
25
+
defself.find_by_ticket(ticket)
26
+
#returns the ticket based on the ticket id
27
+
#it will be removed soon
28
+
end
29
+
30
+
defself.find_by(opts= {})
31
+
#returns the ticket based on the constraints in the hash (activerecord-style)
0 commit comments