Class: RMD::NCT::Getter::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/rmd/nct/getter/base.rb

Direct Known Subclasses

KeyFromPage, KeyFromUrl

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(url) ⇒ Base

Returns a new instance of Base.



9
10
11
# File 'lib/rmd/nct/getter/base.rb', line 9

def initialize(url)
  @url = url
end

Instance Attribute Details

Returns the value of attribute data_link.



7
8
9
# File 'lib/rmd/nct/getter/base.rb', line 7

def data_link
  @data_link
end

#errorsObject (readonly)

Returns the value of attribute errors.



7
8
9
# File 'lib/rmd/nct/getter/base.rb', line 7

def errors
  @errors
end

#urlObject (readonly)

Returns the value of attribute url.



7
8
9
# File 'lib/rmd/nct/getter/base.rb', line 7

def url
  @url
end

Instance Method Details

#fetchObject



13
# File 'lib/rmd/nct/getter/base.rb', line 13

def fetch; end