Module: Quickdraw
- Defined in:
- lib/quickdraw.rb,
lib/quickdraw/cli.rb,
lib/quickdraw/version.rb,
lib/quickdraw/shopify_connector.rb,
lib/quickdraw/shopify_connector_pool.rb
Defined Under Namespace
Classes: Cli, ShopifyConnector, ShopifyConnectorPool
Constant Summary
collapse
- NOOPParser =
Proc.new {|data, format| {} }
- TIMER_RESET =
5 * 60 + 5
- PERMIT_LOWER_LIMIT =
10
- VERSION =
"0.0.5"
Class Method Summary
collapse
Class Method Details
.config ⇒ Object
11
12
13
14
15
16
17
18
19
|
# File 'lib/quickdraw.rb', line 11
def self.config
@config ||= if File.exist? 'config.yml'
config = YAML.load(File.read('config.yml'))
config
else
puts "config.yml does not exist!"
{}
end
end
|
.getwd ⇒ Object
21
22
23
|
# File 'lib/quickdraw.rb', line 21
def self.getwd
FilePath.getwd
end
|
.src_dir ⇒ Object
29
30
31
|
# File 'lib/quickdraw.rb', line 29
def self.src_dir
FilePath.getwd / 'src'
end
|
.theme_dir ⇒ Object
25
26
27
|
# File 'lib/quickdraw.rb', line 25
def self.theme_dir
FilePath.getwd / 'theme'
end
|