lib/xdelivery.rb in xdelivery-2.0.0 vs lib/xdelivery.rb in xdelivery-2.0.1
- old
+ new
@@ -22,9 +22,17 @@
@@open_timeout = 5
@@read_timeout = 5
@@env = :production
+ def self.env(env)
+ @@env
+ end
+
+ def self.env=(env)
+ @@env = env
+ end
+
def self.open_timeout
@@open_timeout
end
def self.open_timeout=(timeout)