Class: TestMedwinCompanyPlugin::StubCompany

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

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Constructor Details

- (StubCompany) initialize(name, pointer)

A new instance of StubCompany



44
45
46
47
# File 'test/test_plugin/medwin.rb', line 44

def initialize(name, pointer)
  @name = name
  @pointer = pointer
end

Instance Attribute Details

- (Object) address

Returns the value of attribute address



42
43
44
# File 'test/test_plugin/medwin.rb', line 42

def address
  @address
end

- (Object) ean13

Returns the value of attribute ean13



42
43
44
# File 'test/test_plugin/medwin.rb', line 42

def ean13
  @ean13
end

- (Object) fax

Returns the value of attribute fax



43
44
45
# File 'test/test_plugin/medwin.rb', line 43

def fax
  @fax
end

- (Object) location

Returns the value of attribute location



43
44
45
# File 'test/test_plugin/medwin.rb', line 43

def location
  @location
end

- (Object) name

Returns the value of attribute name



42
43
44
# File 'test/test_plugin/medwin.rb', line 42

def name
  @name
end

- (Object) phone

Returns the value of attribute phone



43
44
45
# File 'test/test_plugin/medwin.rb', line 43

def phone
  @phone
end

- (Object) plz

Returns the value of attribute plz



43
44
45
# File 'test/test_plugin/medwin.rb', line 43

def plz
  @plz
end

- (Object) pointer

Returns the value of attribute pointer



42
43
44
# File 'test/test_plugin/medwin.rb', line 42

def pointer
  @pointer
end

Instance Method Details

- (Object) data_origin(key)



48
49
# File 'test/test_plugin/medwin.rb', line 48

def data_origin(key)
end

- (Boolean) has_user?

Returns:

  • (Boolean)


53
54
55
# File 'test/test_plugin/medwin.rb', line 53

def has_user?
  false
end

- (Boolean) listed?

Returns:

  • (Boolean)


50
51
52
# File 'test/test_plugin/medwin.rb', line 50

def listed?
  false
end