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