Class: Tessera::Api::TicketGet
- Inherits:
-
Object
- Object
- Tessera::Api::TicketGet
- Defined in:
- lib/tessera/api/ticket_get.rb
Class Method Summary collapse
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(ticket_id) ⇒ TicketGet
constructor
A new instance of TicketGet.
- #session_id ⇒ Object
Constructor Details
#initialize(ticket_id) ⇒ TicketGet
Returns a new instance of TicketGet.
8 9 10 |
# File 'lib/tessera/api/ticket_get.rb', line 8 def initialize(ticket_id) @ticket_id = ticket_id end |
Class Method Details
.call(ticket_id) ⇒ Object
12 13 14 |
# File 'lib/tessera/api/ticket_get.rb', line 12 def self.call(ticket_id) new(ticket_id).call end |