lib/green-button-data.rb in green-button-data-0.2.1 vs lib/green-button-data.rb in green-button-data-0.3.0
- old
+ new
@@ -1,11 +1,36 @@
require 'sax-machine'
+require 'faraday'
require 'green-button-data/core_ext'
+require 'green-button-data/configuration'
+require 'green-button-data/utilities'
require 'green-button-data/dst'
require 'green-button-data/enumerations'
-require 'green-button-data/utilities'
require 'green-button-data/parser'
require 'green-button-data/feed'
+require 'green-button-data/relations'
+require 'green-button-data/model_collection'
+require 'green-button-data/fetchable'
+require 'green-button-data/entry'
+require 'green-button-data/application_information'
+require 'green-button-data/authorization'
+require 'green-button-data/interval_block'
+require 'green-button-data/local_time_parameters'
+require 'green-button-data/meter_reading'
+require 'green-button-data/reading_type'
+require 'green-button-data/usage_point'
+require 'green-button-data/usage_summary'
module GreenButtonData
+ class << self
+ attr_writer :configuration
+ end
+
+ def self.configuration
+ @configuration ||= Configuration.new
+ end
+
+ def self.configure
+ yield configuration
+ end
end