Method: ContextIO::Threads#initialize
- Defined in:
- lib/context_io/account/threads.rb
#initialize(parent:, identifier: nil, response: nil, status: nil, success: nil, api_call_made: nil) ⇒ Threads
Returns a new instance of Threads.
12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
# File 'lib/context_io/account/threads.rb', line 12 def initialize(parent:, identifier: nil, response: nil, status: nil, success: nil, api_call_made: nil) @parent = parent @connection = parent.connection @thread_id = identifier @response = response @status = status @success = success @api_call_made = api_call_made end |