Class: Determinator::Tracking::Request
- Inherits:
-
Object
- Object
- Determinator::Tracking::Request
- Defined in:
- lib/determinator/tracking/request.rb
Instance Attribute Summary collapse
-
#attributes ⇒ Object
readonly
Returns the value of attribute attributes.
-
#context ⇒ Object
readonly
Returns the value of attribute context.
-
#determinations ⇒ Object
readonly
Returns the value of attribute determinations.
-
#endpoint ⇒ Object
readonly
Returns the value of attribute endpoint.
-
#error ⇒ Object
readonly
Returns the value of attribute error.
-
#start ⇒ Object
readonly
Returns the value of attribute start.
-
#time ⇒ Object
readonly
Returns the value of attribute time.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
- #error? ⇒ Boolean
-
#initialize(start:, type:, endpoint:, time:, error:, attributes:, determinations:, context: nil) ⇒ Request
constructor
A new instance of Request.
Constructor Details
#initialize(start:, type:, endpoint:, time:, error:, attributes:, determinations:, context: nil) ⇒ Request
Returns a new instance of Request.
6 7 8 9 10 11 12 13 14 15 |
# File 'lib/determinator/tracking/request.rb', line 6 def initialize(start:, type:, endpoint:, time:, error:, attributes:, determinations:, context: nil) @start = start @type = type @time = time @error = error @attributes = attributes @determinations = determinations @endpoint = endpoint @context = context end |
Instance Attribute Details
#attributes ⇒ Object (readonly)
Returns the value of attribute attributes.
4 5 6 |
# File 'lib/determinator/tracking/request.rb', line 4 def attributes @attributes end |
#context ⇒ Object (readonly)
Returns the value of attribute context.
4 5 6 |
# File 'lib/determinator/tracking/request.rb', line 4 def context @context end |
#determinations ⇒ Object (readonly)
Returns the value of attribute determinations.
4 5 6 |
# File 'lib/determinator/tracking/request.rb', line 4 def determinations @determinations end |
#endpoint ⇒ Object (readonly)
Returns the value of attribute endpoint.
4 5 6 |
# File 'lib/determinator/tracking/request.rb', line 4 def endpoint @endpoint end |
#error ⇒ Object (readonly)
Returns the value of attribute error.
4 5 6 |
# File 'lib/determinator/tracking/request.rb', line 4 def error @error end |
#start ⇒ Object (readonly)
Returns the value of attribute start.
4 5 6 |
# File 'lib/determinator/tracking/request.rb', line 4 def start @start end |
#time ⇒ Object (readonly)
Returns the value of attribute time.
4 5 6 |
# File 'lib/determinator/tracking/request.rb', line 4 def time @time end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
4 5 6 |
# File 'lib/determinator/tracking/request.rb', line 4 def type @type end |
Instance Method Details
#error? ⇒ Boolean
17 18 19 |
# File 'lib/determinator/tracking/request.rb', line 17 def error? error end |