Class: Webstalker::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/webstalker/base.rb

Direct Known Subclasses

Flickr, Github, Ohloh, Reddit, Twitter, Youtube

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(username, opts = {}) ⇒ Base

Returns a new instance of Base.



5
6
7
8
# File 'lib/webstalker/base.rb', line 5

def initialize(username, opts = {})
  @username = username
  @options = opts
end

Instance Attribute Details

#optionsObject (readonly)

Returns the value of attribute options.



3
4
5
# File 'lib/webstalker/base.rb', line 3

def options
  @options
end

#usernameObject (readonly)

Returns the value of attribute username.



3
4
5
# File 'lib/webstalker/base.rb', line 3

def username
  @username
end

Instance Method Details

#tagsObject



10
11
12
# File 'lib/webstalker/base.rb', line 10

def tags
  []
end