Class: ShopifyURL::Admin::Theme
- Inherits:
-
String
- Object
- String
- ShopifyURL::Admin::Theme
- Defined in:
- lib/shopify_url.rb
Instance Method Summary collapse
-
#editor ⇒ Object
Not the code editor, the theme customization page.
-
#initialize(base, id, qs = nil) ⇒ Theme
constructor
A new instance of Theme.
Constructor Details
#initialize(base, id, qs = nil) ⇒ Theme
Returns a new instance of Theme.
166 167 168 169 |
# File 'lib/shopify_url.rb', line 166 def initialize(base, id, qs = nil) super base + "/themes/" << id.to_s self << "?" << qs if qs end |
Instance Method Details
#editor ⇒ Object
Not the code editor, the theme customization page
172 173 174 |
# File 'lib/shopify_url.rb', line 172 def editor self + "/editor" end |