Class: Kount::SegmentExecuted
- Inherits:
-
Object
- Object
- Kount::SegmentExecuted
- Defined in:
- lib/kount/response.rb
Instance Attribute Summary collapse
-
#policies_executed ⇒ Object
Returns the value of attribute policies_executed.
-
#segment ⇒ Object
Returns the value of attribute segment.
-
#tags ⇒ Object
Returns the value of attribute tags.
Instance Method Summary collapse
-
#initialize(attrs = {}) ⇒ SegmentExecuted
constructor
A new instance of SegmentExecuted.
Constructor Details
#initialize(attrs = {}) ⇒ SegmentExecuted
Returns a new instance of SegmentExecuted.
67 68 69 70 71 |
# File 'lib/kount/response.rb', line 67 def initialize(attrs = {}) @segment = Segment.new(attrs["segment"] || {}) @policies_executed = attrs["policies_executed"] || [] @tags = attrs["tags"] || [] end |
Instance Attribute Details
#policies_executed ⇒ Object
Returns the value of attribute policies_executed.
65 66 67 |
# File 'lib/kount/response.rb', line 65 def policies_executed @policies_executed end |
#segment ⇒ Object
Returns the value of attribute segment.
65 66 67 |
# File 'lib/kount/response.rb', line 65 def segment @segment end |
#tags ⇒ Object
Returns the value of attribute tags.
65 66 67 |
# File 'lib/kount/response.rb', line 65 def @tags end |