Class: Sift::Client::Decision::ApplyTo
- Inherits:
-
Object
- Object
- Sift::Client::Decision::ApplyTo
- Defined in:
- lib/sift/client/decision/apply_to.rb
Constant Summary collapse
- PROPERTIES =
%w{ source analyst description order_id session_id content_id user_id account_id time }
Instance Attribute Summary collapse
-
#api_key ⇒ Object
readonly
Returns the value of attribute api_key.
-
#configs ⇒ Object
readonly
Returns the value of attribute configs.
-
#decision_id ⇒ Object
readonly
Returns the value of attribute decision_id.
-
#getter ⇒ Object
readonly
Returns the value of attribute getter.
Instance Method Summary collapse
-
#initialize(api_key, decision_id, configs) ⇒ ApplyTo
constructor
A new instance of ApplyTo.
- #run ⇒ Object
Constructor Details
#initialize(api_key, decision_id, configs) ⇒ ApplyTo
Returns a new instance of ApplyTo.
34 35 36 37 38 39 |
# File 'lib/sift/client/decision/apply_to.rb', line 34 def initialize(api_key, decision_id, configs) @api_key = api_key @decision_id = decision_id @configs = configs @getter = Utils::HashGetter.new(configs) end |
Instance Attribute Details
#api_key ⇒ Object (readonly)
Returns the value of attribute api_key.
24 25 26 |
# File 'lib/sift/client/decision/apply_to.rb', line 24 def api_key @api_key end |
#configs ⇒ Object (readonly)
Returns the value of attribute configs.
24 25 26 |
# File 'lib/sift/client/decision/apply_to.rb', line 24 def configs @configs end |
#decision_id ⇒ Object (readonly)
Returns the value of attribute decision_id.
24 25 26 |
# File 'lib/sift/client/decision/apply_to.rb', line 24 def decision_id @decision_id end |
#getter ⇒ Object (readonly)
Returns the value of attribute getter.
24 25 26 |
# File 'lib/sift/client/decision/apply_to.rb', line 24 def getter @getter end |