Class: Kount::SegmentExecuted

Inherits:
Object
  • Object
show all
Defined in:
lib/kount/response.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_executedObject

Returns the value of attribute policies_executed.



65
66
67
# File 'lib/kount/response.rb', line 65

def policies_executed
  @policies_executed
end

#segmentObject

Returns the value of attribute segment.



65
66
67
# File 'lib/kount/response.rb', line 65

def segment
  @segment
end

#tagsObject

Returns the value of attribute tags.



65
66
67
# File 'lib/kount/response.rb', line 65

def tags
  @tags
end