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.



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

def initialize(path)
  @path = path
end

Instance Attribute Details

#pathObject

Returns the value of attribute path.



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

def path
  @path
end

Instance Method Details

#shopsObject



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

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