lib/mousetrap.rb in hashrocket-mousetrap-0.1.1 vs lib/mousetrap.rb in hashrocket-mousetrap-0.2.0
- old
+ new
@@ -2,15 +2,19 @@
begin; require 'rubygems'; rescue LoadError; end
require 'httparty'
module Mousetrap
- autoload(:Resource, 'mousetrap/resource')
- autoload(:Customer, 'mousetrap/customer')
-
+ NO_BUSINESS_NEED = "No business need at this time."
+
+ autoload :Customer, 'mousetrap/customer'
+ autoload :Plan, 'mousetrap/plan'
+ autoload :Resource, 'mousetrap/resource'
+ autoload :Subscription, 'mousetrap/subscription'
+
class << self
attr_accessor :product_code
-
+
def authenticate(user, password)
Resource.basic_auth user, password
end
end
end