lib/authlogic_connect/access_token.rb in authlogic-connect-0.0.5.1 vs lib/authlogic_connect/access_token.rb in authlogic-connect-0.0.6
- old
+ new
@@ -15,10 +15,14 @@
def settings
self.class.settings
end
+ def config
+ self.class.config
+ end
+
def get(path)
end
class << self
@@ -39,9 +43,13 @@
end
def config
@settings ||= {}
@settings.dup
+ end
+
+ def api_version(value = nil)
+ config[:api]
end
protected
def credentials