Class: ShopifyAppShopList
- Inherits:
-
Object
- Object
- ShopifyAppShopList
- Defined in:
- lib/shopifydev/pry/commands.rb
Overview
these mini classes JUST grabs the JSON that we need for making submenus
Direct Known Subclasses
Instance Attribute Summary collapse
-
#path ⇒ Object
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(path) ⇒ ShopifyAppShopList
constructor
A new instance of ShopifyAppShopList.
- #shops ⇒ Object
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
#path ⇒ Object
Returns the value of attribute path.
181 182 183 |
# File 'lib/shopifydev/pry/commands.rb', line 181 def path @path end |
Instance Method Details
#shops ⇒ Object
187 188 189 |
# File 'lib/shopifydev/pry/commands.rb', line 187 def shops raise "you must define the shops method" end |