Class: HttpStub::Configurer::Request::StubResponseFile
- Inherits:
-
Object
- Object
- HttpStub::Configurer::Request::StubResponseFile
- Defined in:
- lib/http_stub/configurer/request/stub_response_file.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#path ⇒ Object
readonly
Returns the value of attribute path.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(args) ⇒ StubResponseFile
constructor
A new instance of StubResponseFile.
Constructor Details
#initialize(args) ⇒ StubResponseFile
Returns a new instance of StubResponseFile.
9 10 11 12 13 14 |
# File 'lib/http_stub/configurer/request/stub_response_file.rb', line 9 def initialize(args) @id = args[:id] @path = args[:path] @name = args[:name] @type = args[:type] end |
Instance Attribute Details
#id ⇒ Object (readonly)
Returns the value of attribute id.
7 8 9 |
# File 'lib/http_stub/configurer/request/stub_response_file.rb', line 7 def id @id end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
7 8 9 |
# File 'lib/http_stub/configurer/request/stub_response_file.rb', line 7 def name @name end |
#path ⇒ Object (readonly)
Returns the value of attribute path.
7 8 9 |
# File 'lib/http_stub/configurer/request/stub_response_file.rb', line 7 def path @path end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
7 8 9 |
# File 'lib/http_stub/configurer/request/stub_response_file.rb', line 7 def type @type end |