Class: Avocado::Endpoint
- Inherits:
-
Object
- Object
- Avocado::Endpoint
- Includes:
- ActiveModel::Model
- Defined in:
- app/models/avocado/endpoint.rb
Instance Attribute Summary collapse
-
#requests ⇒ Object
Returns the value of attribute requests.
-
#signature ⇒ Object
Returns the value of attribute signature.
Instance Method Summary collapse
-
#initialize ⇒ Endpoint
constructor
A new instance of Endpoint.
Constructor Details
#initialize ⇒ Endpoint
Returns a new instance of Endpoint.
7 8 9 10 |
# File 'app/models/avocado/endpoint.rb', line 7 def initialize(*) @requests = SortedSet.new super end |
Instance Attribute Details
#requests ⇒ Object
Returns the value of attribute requests.
5 6 7 |
# File 'app/models/avocado/endpoint.rb', line 5 def requests @requests end |
#signature ⇒ Object
Returns the value of attribute signature.
5 6 7 |
# File 'app/models/avocado/endpoint.rb', line 5 def signature @signature end |