lib/urbanairship.rb in urbanairship-2.1.2 vs lib/urbanairship.rb in urbanairship-2.2.0

- old
+ new

@@ -11,11 +11,11 @@ rescue LoadError require 'timeout' Timer = Timeout end - class << self + module ClassMethods attr_accessor :application_key, :application_secret, :master_secret, :logger, :request_timeout, :provider def register_device(device_token, options = {}) body = parse_register_options(options).to_json @@ -125,7 +125,15 @@ end def request_timeout @request_timeout || 5.0 end + end + + class << self + include ClassMethods + end + + class Client + include ClassMethods end end