Sha256: 840efc2e14db1bb3dea1207c297ae85306a660aa090475fb83cdff70503fa5e5

Contents?: true

Size: 287 Bytes

Versions: 5

Compression:

Stored size: 287 Bytes

Contents

class BleacherApi
  module Config
    class <<self
      
      def url(url=nil)
        @url = url unless url.nil?
        @url || 'http://bleacherreport.com'
      end
      
      def token(token=nil)
        @token = token unless token.nil?
        @token
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
bleacher_api-0.1.4 lib/bleacher_api/config.rb
bleacher_api-0.1.3 lib/bleacher_api/config.rb
bleacher_api-0.1.2 lib/bleacher_api/config.rb
bleacher_api-0.1.1 lib/bleacher_api/config.rb
bleacher_api-0.1.0 lib/bleacher_api/config.rb