Class: Prof::MarketplaceService
- Inherits:
-
Object
- Object
- Prof::MarketplaceService
- Defined in:
- lib/prof/marketplace_service.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#plan ⇒ Object
readonly
Returns the value of attribute plan.
Instance Method Summary collapse
-
#initialize(name:, plan:) ⇒ MarketplaceService
constructor
A new instance of MarketplaceService.
Constructor Details
#initialize(name:, plan:) ⇒ MarketplaceService
Returns a new instance of MarketplaceService.
13 14 15 16 |
# File 'lib/prof/marketplace_service.rb', line 13 def initialize(name:, plan:) @name = name @plan = plan end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
18 19 20 |
# File 'lib/prof/marketplace_service.rb', line 18 def name @name end |
#plan ⇒ Object (readonly)
Returns the value of attribute plan.
18 19 20 |
# File 'lib/prof/marketplace_service.rb', line 18 def plan @plan end |