Class: Prof::MarketplaceService

Inherits:
Object
  • Object
show all
Defined in:
lib/prof/marketplace_service.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#nameObject (readonly)

Returns the value of attribute name.



18
19
20
# File 'lib/prof/marketplace_service.rb', line 18

def name
  @name
end

#planObject (readonly)

Returns the value of attribute plan.



18
19
20
# File 'lib/prof/marketplace_service.rb', line 18

def plan
  @plan
end