lib/iiif_url.rb in iiif_url-0.0.2 vs lib/iiif_url.rb in iiif_url-0.0.3
- old
+ new
@@ -44,9 +44,13 @@
def self.set_base_url(base_url)
@@base_url = base_url
end
+ def self.base_url
+ @@base_url
+ end
+
def self.from_params(params={})
base_url = params[:base_url]
if base_url == false
base_url = ''
elsif base_url.nil?