Class: PolicyManager::PortabilityRule
- Inherits:
-
Object
- Object
- PolicyManager::PortabilityRule
- Defined in:
- lib/policy_manager/portability_rule.rb
Instance Attribute Summary collapse
-
#collection ⇒ Object
Returns the value of attribute collection.
-
#formats ⇒ Object
Returns the value of attribute formats.
-
#json_template ⇒ Object
Returns the value of attribute json_template.
-
#member ⇒ Object
Returns the value of attribute member.
-
#methods ⇒ Object
Returns the value of attribute methods.
-
#name ⇒ Object
Returns the value of attribute name.
-
#per ⇒ Object
Returns the value of attribute per.
-
#template ⇒ Object
Returns the value of attribute template.
Instance Method Summary collapse
-
#initialize(opts = {}) ⇒ PortabilityRule
constructor
A new instance of PortabilityRule.
Constructor Details
#initialize(opts = {}) ⇒ PortabilityRule
Returns a new instance of PortabilityRule.
12 13 14 15 16 17 18 19 20 |
# File 'lib/policy_manager/portability_rule.rb', line 12 def initialize(opts={}) self.collection = opts[:collection] self.member = opts[:member] self.per = opts[:per] self.name = opts[:name] self.formats = opts[:formats] self.template = opts[:template] self.json_template = opts[:json_template] end |
Instance Attribute Details
#collection ⇒ Object
Returns the value of attribute collection.
3 4 5 |
# File 'lib/policy_manager/portability_rule.rb', line 3 def collection @collection end |
#formats ⇒ Object
Returns the value of attribute formats.
3 4 5 |
# File 'lib/policy_manager/portability_rule.rb', line 3 def formats @formats end |
#json_template ⇒ Object
Returns the value of attribute json_template.
3 4 5 |
# File 'lib/policy_manager/portability_rule.rb', line 3 def json_template @json_template end |
#member ⇒ Object
Returns the value of attribute member.
3 4 5 |
# File 'lib/policy_manager/portability_rule.rb', line 3 def member @member end |
#methods ⇒ Object
Returns the value of attribute methods.
3 4 5 |
# File 'lib/policy_manager/portability_rule.rb', line 3 def methods @methods end |
#name ⇒ Object
Returns the value of attribute name.
3 4 5 |
# File 'lib/policy_manager/portability_rule.rb', line 3 def name @name end |
#per ⇒ Object
Returns the value of attribute per.
3 4 5 |
# File 'lib/policy_manager/portability_rule.rb', line 3 def per @per end |
#template ⇒ Object
Returns the value of attribute template.
3 4 5 |
# File 'lib/policy_manager/portability_rule.rb', line 3 def template @template end |