Class: Trifle::Docs::Operations::Collection
- Inherits:
-
Object
- Object
- Trifle::Docs::Operations::Collection
- Defined in:
- lib/trifle/docs/operations/collection.rb
Instance Attribute Summary collapse
-
#url ⇒ Object
readonly
Returns the value of attribute url.
Instance Method Summary collapse
- #config ⇒ Object
-
#initialize(**keywords) ⇒ Collection
constructor
A new instance of Collection.
- #perform ⇒ Object
Constructor Details
#initialize(**keywords) ⇒ Collection
Returns a new instance of Collection.
9 10 11 12 |
# File 'lib/trifle/docs/operations/collection.rb', line 9 def initialize(**keywords) @url = keywords.fetch(:url) @config = keywords[:config] end |
Instance Attribute Details
#url ⇒ Object (readonly)
Returns the value of attribute url.
7 8 9 |
# File 'lib/trifle/docs/operations/collection.rb', line 7 def url @url end |