Class: BillForward::ResourcePath
- Inherits:
-
Object
- Object
- BillForward::ResourcePath
- Defined in:
- lib/bill_forward/resource_path.rb
Instance Attribute Summary collapse
-
#entity_name ⇒ Object
readonly
Returns the value of attribute entity_name.
-
#path ⇒ Object
readonly
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(path, entity_name) ⇒ ResourcePath
constructor
A new instance of ResourcePath.
Constructor Details
#initialize(path, entity_name) ⇒ ResourcePath
Returns a new instance of ResourcePath.
6 7 8 9 |
# File 'lib/bill_forward/resource_path.rb', line 6 def initialize(path, entity_name) @path = path @entity_name = entity_name end |
Instance Attribute Details
#entity_name ⇒ Object (readonly)
Returns the value of attribute entity_name.
4 5 6 |
# File 'lib/bill_forward/resource_path.rb', line 4 def entity_name @entity_name end |
#path ⇒ Object (readonly)
Returns the value of attribute path.
3 4 5 |
# File 'lib/bill_forward/resource_path.rb', line 3 def path @path end |