Class: Endpointer::Resource
- Inherits:
-
Struct
- Object
- Struct
- Endpointer::Resource
- Defined in:
- lib/endpointer/resource.rb
Instance Attribute Summary collapse
-
#headers ⇒ Object
Returns the value of attribute headers.
-
#id ⇒ Object
Returns the value of attribute id.
-
#matchers ⇒ Object
Returns the value of attribute matchers.
-
#method ⇒ Object
Returns the value of attribute method.
-
#substitutions ⇒ Object
Returns the value of attribute substitutions.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Attribute Details
#headers ⇒ Object
Returns the value of attribute headers
2 3 4 |
# File 'lib/endpointer/resource.rb', line 2 def headers @headers end |
#id ⇒ Object
Returns the value of attribute id
2 3 4 |
# File 'lib/endpointer/resource.rb', line 2 def id @id end |
#matchers ⇒ Object
Returns the value of attribute matchers
2 3 4 |
# File 'lib/endpointer/resource.rb', line 2 def matchers @matchers end |
#method ⇒ Object
Returns the value of attribute method
2 3 4 |
# File 'lib/endpointer/resource.rb', line 2 def method @method end |
#substitutions ⇒ Object
Returns the value of attribute substitutions
2 3 4 |
# File 'lib/endpointer/resource.rb', line 2 def substitutions @substitutions end |
#url ⇒ Object
Returns the value of attribute url
2 3 4 |
# File 'lib/endpointer/resource.rb', line 2 def url @url end |