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.
184 185 186 |
# File 'lib/shopifydev/pry/commands.rb', line 184 def initialize(path) @path = path end |
Instance Attribute Details
#path ⇒ Object
Returns the value of attribute path.
182 183 184 |
# File 'lib/shopifydev/pry/commands.rb', line 182 def path @path end |
Instance Method Details
#shops ⇒ Object
188 189 190 |
# File 'lib/shopifydev/pry/commands.rb', line 188 def shops raise "you must define the shops method" end |