Module: Seojs

Defined in:
lib/seojs.rb,
lib/seojs/railtie.rb,
lib/seojs/middleware.rb

Defined Under Namespace

Classes: Middleware, Railtie

Class Method Summary collapse

Class Method Details

.token=(value) ⇒ Object



3
4
5
6
7
8
9
# File 'lib/seojs.rb', line 3

def self.token=(value)
  if value
    @url = "http://cdn.getseojs.com/snapshots/#{value}"
  else
    @url = nil
  end
end

.urlObject



15
16
17
# File 'lib/seojs.rb', line 15

def self.url
  @url
end

.url=(value) ⇒ Object



11
12
13
# File 'lib/seojs.rb', line 11

def self.url=(value)
  @url = value
end