Class: Lotrb::Character
- Inherits:
-
BaseResource
- Object
- BaseResource
- Lotrb::Character
- Defined in:
- lib/lotrb/resources/character.rb
Constant Summary collapse
- RESOURCE_NAME =
"character"
Instance Method Summary collapse
Methods inherited from BaseResource
from_result_hash, internal_get, list, retrieve
Instance Method Details
#list_quotes(params = {}) ⇒ Object
5 6 7 8 9 |
# File 'lib/lotrb/resources/character.rb', line 5 def list_quotes(params = {}) child_class = Quote path = "#{RESOURCE_NAME}/#{_id}/#{child_class::RESOURCE_NAME}" self.class.internal_get(path: path, params: params, result_class: child_class) end |