Class: Sanity::Http::Find
- Inherits:
-
Object
- Object
- Sanity::Http::Find
- Includes:
- Query
- Defined in:
- lib/sanity/http/find.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
Attributes included from Query
Instance Method Summary collapse
-
#initialize(**args) ⇒ Find
constructor
A new instance of Find.
Methods included from Query
#call, included, #result_wrapper
Constructor Details
#initialize(**args) ⇒ Find
Returns a new instance of Find.
12 13 14 15 |
# File 'lib/sanity/http/find.rb', line 12 def initialize(**args) super @id = args.delete(:id) end |
Instance Attribute Details
#id ⇒ Object (readonly)
Returns the value of attribute id.
10 11 12 |
# File 'lib/sanity/http/find.rb', line 10 def id @id end |