Class: ODDB::State::Companies::TestUserCompanyState::StubApp

Inherits:
Object
  • Object
show all
Defined in:
test/test_state/companies/company.rb

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Instance Attribute Details

- (Object) company_of_same_name=(value) (writeonly)

Sets the attribute company_of_same_name

Parameters:

  • value

    the value to set the attribute company_of_same_name to.



141
142
143
# File 'test/test_state/companies/company.rb', line 141

def company_of_same_name=(value)
  @company_of_same_name = value
end

- (Object) input (readonly)

Returns the value of attribute input



140
141
142
# File 'test/test_state/companies/company.rb', line 140

def input
  @input
end

- (Object) pointer (readonly)

Returns the value of attribute pointer



139
140
141
# File 'test/test_state/companies/company.rb', line 139

def pointer
  @pointer
end

Instance Method Details

- (Object) company_by_name(name)



146
147
148
# File 'test/test_state/companies/company.rb', line 146

def company_by_name(name)
  @company_of_same_name
end

- (Object) update(pointer, input)



142
143
144
145
# File 'test/test_state/companies/company.rb', line 142

def update(pointer, input)
  @pointer = pointer
  @input = input
end