lib/casino_hub.rb in casino_hub-0.1.3 vs lib/casino_hub.rb in casino_hub-0.1.4

- old
+ new

@@ -31,10 +31,10 @@ @api_base = 'https://casino.openfan.net/api' end end def source - @source ||= File.basename(Dir.getwd) + @source ||= Rails.application.class.parent_name || '' end end def self.api_url(url='', api_base_url=nil) (api_base_url || @api_base) + url