Class: DeepL::Requests::Glossary::Destroy
- Defined in:
- lib/deepl/requests/glossary/destroy.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(api, id, options = {}) ⇒ Destroy
constructor
A new instance of Destroy.
- #request ⇒ Object
Constructor Details
#initialize(api, id, options = {}) ⇒ Destroy
Returns a new instance of Destroy.
9 10 11 12 |
# File 'lib/deepl/requests/glossary/destroy.rb', line 9 def initialize(api, id, = {}) super(api, ) @id = id end |
Instance Attribute Details
#id ⇒ Object (readonly)
Returns the value of attribute id.
7 8 9 |
# File 'lib/deepl/requests/glossary/destroy.rb', line 7 def id @id end |
Instance Method Details
#request ⇒ Object
14 15 16 |
# File 'lib/deepl/requests/glossary/destroy.rb', line 14 def request build_response(*delete) end |