Class: ODDB::State::Companies::TestUserCompanyState::StubSession

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) app

Returns the value of attribute app



125
126
127
# File 'test/test_state/companies/company.rb', line 125

def app
  @app
end

- (Object) user_equiv=(value) (writeonly)

Sets the attribute user_equiv

Parameters:

  • value

    the value to set the attribute user_equiv to.



124
125
126
# File 'test/test_state/companies/company.rb', line 124

def user_equiv=(value)
  @user_equiv = value
end

- (Object) user_input(*args)



126
127
128
129
130
# File 'test/test_state/companies/company.rb', line 126

def user_input(*args)
  input = @user_input.dup
  input.delete_if { |key, val| !args.include?(key) }
  input
end

Instance Method Details

- (Boolean) user_equiv?(*args)

Returns:

  • (Boolean)


131
132
133
# File 'test/test_state/companies/company.rb', line 131

def user_equiv?(*args)
  @user_equiv
end