lib/missionhub.rb in MissionHub-2.0.0 vs lib/missionhub.rb in MissionHub-2.1.0
- old
+ new
@@ -1,18 +1,10 @@
Dir[File.dirname(__FILE__) + '/missionhub/*.rb'].each do |file|
require file
end
module MissionHub
+ extend Config
class << self
- attr_accessor :client_id, :client_secret, :site
- # And we define a wrapper for the configuration block, that we'll use to set up
- # our set of options
- def config
- yield self
-
- self.site ||= "https://www.missionhub.com/apis/v3"
- Base.site = site
- end
end
end