Class: PolicyManager::PortabilityRule

Inherits:
Object
  • Object
show all
Defined in:
lib/policy_manager/portability_rule.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#collectionObject

Returns the value of attribute collection.



3
4
5
# File 'lib/policy_manager/portability_rule.rb', line 3

def collection
  @collection
end

#formatsObject

Returns the value of attribute formats.



3
4
5
# File 'lib/policy_manager/portability_rule.rb', line 3

def formats
  @formats
end

#json_templateObject

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

#memberObject

Returns the value of attribute member.



3
4
5
# File 'lib/policy_manager/portability_rule.rb', line 3

def member
  @member
end

#methodsObject

Returns the value of attribute methods.



3
4
5
# File 'lib/policy_manager/portability_rule.rb', line 3

def methods
  @methods
end

#nameObject

Returns the value of attribute name.



3
4
5
# File 'lib/policy_manager/portability_rule.rb', line 3

def name
  @name
end

#perObject

Returns the value of attribute per.



3
4
5
# File 'lib/policy_manager/portability_rule.rb', line 3

def per
  @per
end

#templateObject

Returns the value of attribute template.



3
4
5
# File 'lib/policy_manager/portability_rule.rb', line 3

def template
  @template
end