Module: ShopkeepReports

Defined in:
lib/shopkeep_reports.rb,
lib/shopkeep_reports/client.rb,
lib/shopkeep_reports/version.rb,
lib/shopkeep_reports/downloader.rb,
lib/shopkeep_reports/configuration.rb

Defined Under Namespace

Classes: Client, Configuration, Downloader, ShopkeepException

Constant Summary collapse

VERSION =
"2.0.1"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration.



9
10
11
# File 'lib/shopkeep_reports.rb', line 9

def configuration
  @configuration
end

Class Method Details

.configure {|configuration| ... } ⇒ Object

Yields:



14
15
16
17
18
# File 'lib/shopkeep_reports.rb', line 14

def self.configure
  Configuration.instance.init
  self.configuration ||= Configuration.instance
  yield(configuration)
end