Module: ROM::Lint::TestGateway
- Extended by:
- Test
- Defined in:
- lib/rom/lint/test.rb
Overview
This is a simple lint-test for gateway class to ensure the basic interfaces are in place
Instance Attribute Summary collapse
-
#gateway ⇒ Object
readonly
Returns the gateway class.
-
#identifier ⇒ Object
readonly
Returns the gateway identifier e.g.
-
#uri ⇒ Object
readonly
Returns gateway’s URI e.g.
Method Summary
Methods included from Test
Instance Attribute Details
#gateway ⇒ Object (readonly)
Returns the gateway class
50 51 52 |
# File 'lib/rom/lint/test.rb', line 50 def gateway @gateway end |
#identifier ⇒ Object (readonly)
Returns the gateway identifier e.g. :memory
45 46 47 |
# File 'lib/rom/lint/test.rb', line 45 def identifier @identifier end |
#uri ⇒ Object (readonly)
Returns gateway’s URI e.g. “super_db://something”
55 56 57 |
# File 'lib/rom/lint/test.rb', line 55 def uri @uri end |