Class: Radius::TagDefinitions::TagFactory
- Inherits:
-
Object
- Object
- Radius::TagDefinitions::TagFactory
- Defined in:
- lib/radius/tag_definitions.rb
Overview
:nodoc:
Instance Method Summary collapse
- #define_tag(name, options, &block) ⇒ Object
-
#initialize(context) ⇒ TagFactory
constructor
A new instance of TagFactory.
Constructor Details
#initialize(context) ⇒ TagFactory
Returns a new instance of TagFactory.
4 5 6 |
# File 'lib/radius/tag_definitions.rb', line 4 def initialize(context) @context = context end |
Instance Method Details
#define_tag(name, options, &block) ⇒ Object
8 9 10 11 12 13 |
# File 'lib/radius/tag_definitions.rb', line 8 def define_tag(name, , &block) = (name, ) validate_params(name, , &block) construct_tag_set(name, , &block) (name, ) end |