Class: TestMedwinPackagePlugin::StubPackage

Inherits:
Object
  • Object
show all
Defined in:
test/test_plugin/medwin.rb

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Constructor Details

- (StubPackage) initialize(barcode)

A new instance of StubPackage



163
164
165
166
# File 'test/test_plugin/medwin.rb', line 163

def initialize(barcode)
  @barcode = barcode
  @name_base = "name base"
end

Instance Attribute Details

- (Object) barcode

Returns the value of attribute barcode



161
162
163
# File 'test/test_plugin/medwin.rb', line 161

def barcode
  @barcode
end

- (Object) name_base (readonly)

Returns the value of attribute name_base



162
163
164
# File 'test/test_plugin/medwin.rb', line 162

def name_base
  @name_base
end

- (Object) out_of_trade

Returns the value of attribute out_of_trade



161
162
163
# File 'test/test_plugin/medwin.rb', line 161

def out_of_trade
  @out_of_trade
end

- (Object) pharmacode

Returns the value of attribute pharmacode



161
162
163
# File 'test/test_plugin/medwin.rb', line 161

def pharmacode
  @pharmacode
end

- (Object) pointer

Returns the value of attribute pointer



161
162
163
# File 'test/test_plugin/medwin.rb', line 161

def pointer
  @pointer
end