Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/sift/client/decision/apply_to.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ class ApplyTo
attr_reader :decision_id, :configs, :getter, :api_key

PROPERTIES.each do |attribute|
class_eval %{
class_eval <<~RUBY, __FILE__, __LINE__ + 1
def #{attribute}
getter.get(:#{attribute})
end
}
RUBY
end

def initialize(api_key, decision_id, configs)
Expand Down