Class: ODDB::MedwinPlugin

Inherits:
Plugin show all
Defined in:
src/plugin/medwin.rb,
test/test_plugin/medwin.rb

Direct Known Subclasses

MedwinCompanyPlugin, MedwinPackagePlugin

Constant Summary

HTTP_SERVER =
'www.medwin.ch'

Constants inherited from Plugin

ARCHIVE_PATH, RECIPIENTS

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Methods inherited from Plugin

#l10n_sessions, #log_info, #recipients, #report, #resolve_link, #update_rss_feeds

Methods included from HttpFile

#http_body, #http_file

Constructor Details

- (MedwinPlugin) initialize(app)

A new instance of MedwinPlugin



16
17
18
19
20
21
22
23
# File 'src/plugin/medwin.rb', line 16

def initialize(app)
  super
  @checked = 0
  @temp_count = 0
  @found = 0
  @updated = []
  @errors = {}
end

Instance Attribute Details

- (Object) checked

Returns the value of attribute checked



14
15
16
# File 'test/test_plugin/medwin.rb', line 14

def checked
  @checked
end

- (Object) errors

Returns the value of attribute errors



15
16
17
# File 'test/test_plugin/medwin.rb', line 15

def errors
  @errors
end

- (Object) found

Returns the value of attribute found



14
15
16
# File 'test/test_plugin/medwin.rb', line 14

def found
  @found
end

- (Object) session

Returns the value of attribute session



14
15
16
# File 'test/test_plugin/medwin.rb', line 14

def session
  @session
end

- (Object) updated

Returns the value of attribute updated



14
15
16
# File 'test/test_plugin/medwin.rb', line 14

def updated
  @updated
end