Method: Consent::Action#initialize

Defined in:
lib/consent/action.rb

#initialize(key, label, options = {}) ⇒ Action

Returns a new instance of Action.



5
6
7
8
9
# File 'lib/consent/action.rb', line 5

def initialize(key, label, options = {})
  @key = key
  @label = label
  @options = options
end