Class: Textus::Protocol::Session::Context

Inherits:
Data
  • Object
show all
Defined in:
lib/textus/protocol/session/context.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#contract_etagObject (readonly)

Returns the value of attribute contract_etag

Returns:

  • (Object)

    the current value of contract_etag



1
2
3
# File 'lib/textus/protocol/session/context.rb', line 1

def contract_etag
  @contract_etag
end

#correlation_idObject (readonly)

Returns the value of attribute correlation_id

Returns:

  • (Object)

    the current value of correlation_id



1
2
3
# File 'lib/textus/protocol/session/context.rb', line 1

def correlation_id
  @correlation_id
end

#cursorObject (readonly)

Returns the value of attribute cursor

Returns:

  • (Object)

    the current value of cursor



1
2
3
# File 'lib/textus/protocol/session/context.rb', line 1

def cursor
  @cursor
end

#dry_runObject (readonly)

Returns the value of attribute dry_run

Returns:

  • (Object)

    the current value of dry_run



1
2
3
# File 'lib/textus/protocol/session/context.rb', line 1

def dry_run
  @dry_run
end

#propose_laneObject (readonly)

Returns the value of attribute propose_lane

Returns:

  • (Object)

    the current value of propose_lane



1
2
3
# File 'lib/textus/protocol/session/context.rb', line 1

def propose_lane
  @propose_lane
end

#roleObject (readonly)

Returns the value of attribute role

Returns:

  • (Object)

    the current value of role



1
2
3
# File 'lib/textus/protocol/session/context.rb', line 1

def role
  @role
end

Instance Method Details

#callObject



2
3
4
# File 'lib/textus/protocol/session/context.rb', line 2

def call
  Textus::Value::Call.build(role:, correlation_id:)
end