lib/red_cap.rb in red_cap-0.1.1 vs lib/red_cap.rb in red_cap-0.2.0
- old
+ new
@@ -1,12 +1,14 @@
require "red_cap/version"
require "red_cap/client"
require "red_cap/form"
module REDCap
- def self.configure
- yield self
- end
+ class << self
+ def configure
+ yield self
+ end
- cattr_accessor :url, :token
+ attr_accessor :url, :token
+ end
end