Class: ShopifyAppShopList

Inherits:
Object
  • Object
show all
Defined in:
lib/shopifydev/pry/commands.rb

Overview

these mini classes JUST grabs the JSON that we need for making submenus

Direct Known Subclasses

HerokuShopifyApp, LocalShopifyApp

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(path) ⇒ ShopifyAppShopList

Returns a new instance of ShopifyAppShopList.



184
185
186
# File 'lib/shopifydev/pry/commands.rb', line 184

def initialize(path)
  @path = path
end

Instance Attribute Details

#pathObject

Returns the value of attribute path.



182
183
184
# File 'lib/shopifydev/pry/commands.rb', line 182

def path
  @path
end

Instance Method Details

#shopsObject



188
189
190
# File 'lib/shopifydev/pry/commands.rb', line 188

def shops
  raise "you must define the shops method"
end