Class: HornOfPlenty::Adapters::Github::Responses::ListCards
- Inherits:
-
HornOfPlenty::Adapters::Github::Response
- Object
- Response
- HornOfPlenty::Adapters::Github::Response
- HornOfPlenty::Adapters::Github::Responses::ListCards
- Defined in:
- lib/horn_of_plenty/adapters/github/responses/list_cards.rb
Instance Attribute Summary
Attributes inherited from Response
Instance Method Summary collapse
Methods inherited from HornOfPlenty::Adapters::Github::Response
Methods inherited from Response
#body, #initialize, #items, parse, #status_code, #status_message, #successful?
Constructor Details
This class inherits a constructor from HornOfPlenty::Response
Instance Method Details
#parser_class ⇒ Object
16 17 18 |
# File 'lib/horn_of_plenty/adapters/github/responses/list_cards.rb', line 16 def parser_class @parser_class ||= Parsers::Card end |
#result ⇒ Object
11 12 13 14 |
# File 'lib/horn_of_plenty/adapters/github/responses/list_cards.rb', line 11 def result @result ||= Collections::Card.new(items: items, parser: parser_class) end |