Class: MockApi::MockDefinition
- Inherits:
-
Object
- Object
- MockApi::MockDefinition
- Defined in:
- lib/mock_api/mock_definition.rb
Instance Attribute Summary collapse
-
#_url ⇒ Object
readonly
Returns the value of attribute _url.
-
#entity_types ⇒ Object
readonly
Returns the value of attribute entity_types.
Instance Method Summary collapse
Instance Attribute Details
#_url ⇒ Object (readonly)
Returns the value of attribute _url.
3 4 5 |
# File 'lib/mock_api/mock_definition.rb', line 3 def _url @_url end |
#entity_types ⇒ Object (readonly)
Returns the value of attribute entity_types.
3 4 5 |
# File 'lib/mock_api/mock_definition.rb', line 3 def entity_types @entity_types end |
Instance Method Details
#store(*entity_types) ⇒ Object
9 10 11 |
# File 'lib/mock_api/mock_definition.rb', line 9 def store(*entity_types) @entity_types = entity_types end |
#url(url) ⇒ Object
5 6 7 |
# File 'lib/mock_api/mock_definition.rb', line 5 def url(url) @_url = url end |