Sha256: b56e96bff6e581267a167be040cac0f9ee7b097b0cb662cd7a61833c80eaaa5e
Contents?: true
Size: 527 Bytes
Versions: 16
Compression:
Stored size: 527 Bytes
Contents
$LOAD_PATH.unshift(File.dirname(__FILE__)) begin; require 'rubygems'; rescue LoadError; end require 'httparty' module Mousetrap API_UNSUPPORTED = "CheddarGetter API doesn't support this." 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
Version data entries
16 entries across 16 versions & 5 rubygems