class CompanyListParser

Public Instance Methods

list() click to toggle source
# File lib/bob/parsers/company_list_parser.rb, line 4
def list
  Models::CompanyList.new(json_response)
end
lists() click to toggle source
# File lib/bob/parsers/company_list_parser.rb, line 8
def lists
  json_response.map { |_key, attributes| Models::CompanyList.new(attributes) }
end