Class: Infostrada::EditionRequest
- Inherits:
-
BaseRequest
- Object
- BaseRequest
- Infostrada::EditionRequest
- Defined in:
- lib/infostrada/edition_request.rb
Constant Summary collapse
- URLS =
{ list: '/GetEditionList' }
Constants inherited from BaseRequest
Class Method Summary collapse
Methods inherited from BaseRequest
Class Method Details
.get_list ⇒ Object
7 8 9 10 11 12 13 14 15 16 |
# File 'lib/infostrada/edition_request.rb', line 7 def self.get_list list = get!(URLS[:list]) editions = [] list.each do |edition_hash| editions << Edition.new(edition_hash) end editions end |