Class: InstagramCrawler::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/instagram_crawler/config.rb

Class Attribute Summary collapse

Class Attribute Details

.after_date ⇒ Object

Returns the value of attribute after_date.



5
6
7
# File 'lib/instagram_crawler/config.rb', line 5

def after_date
  @after_date
end

.base_path ⇒ Object (readonly)

Returns the value of attribute base_path.



5
6
7
# File 'lib/instagram_crawler/config.rb', line 5

def base_path
  @base_path
end

.base_url ⇒ Object (readonly)

Returns the value of attribute base_url.



5
6
7
# File 'lib/instagram_crawler/config.rb', line 5

def base_url
  @base_url
end

.before_date ⇒ Object

Returns the value of attribute before_date.



5
6
7
# File 'lib/instagram_crawler/config.rb', line 5

def before_date
  @before_date
end

.default_url ⇒ Object (readonly)

Returns the value of attribute default_url.



5
6
7
# File 'lib/instagram_crawler/config.rb', line 5

def default_url
  @default_url
end

.download ⇒ Object

Returns the value of attribute download.



7
8
9
# File 'lib/instagram_crawler/config.rb', line 7

def download
  @download
end

.log_path ⇒ Object (readonly)

Returns the value of attribute log_path.



5
6
7
# File 'lib/instagram_crawler/config.rb', line 5

def log_path
  @log_path
end

.parse_after_date ⇒ Object (readonly)

Returns the value of attribute parse_after_date.



5
6
7
# File 'lib/instagram_crawler/config.rb', line 5

def parse_after_date
  @parse_after_date
end

.parse_before_date ⇒ Object (readonly)

Returns the value of attribute parse_before_date.



5
6
7
# File 'lib/instagram_crawler/config.rb', line 5

def parse_before_date
  @parse_before_date
end

.port ⇒ Object



27
28
29
# File 'lib/instagram_crawler/config.rb', line 27

def port
  @port ? @port.to_i : 8080
end

.proxyname ⇒ Object

Returns the value of attribute proxyname.



7
8
9
# File 'lib/instagram_crawler/config.rb', line 7

def proxyname
  @proxyname
end

.user_name ⇒ Object

Returns the value of attribute user_name.



5
6
7
# File 'lib/instagram_crawler/config.rb', line 5

def user_name
  @user_name
end