Sha256: 60095d4cf9e71817d47a861593d1f552236eee3b3e7cbbc0e65cc9fbbb0b5733

Contents?: true

Size: 289 Bytes

Versions: 7

Compression:

Stored size: 289 Bytes

Contents

# Represents a publisher of videos on Hulu
class Hooloo::Company < Hooloo::MozartHash
  # Provides a list of all companies on Hulu
  #
  # @param args [Hash] (see Hooloo#request)
  def self.list(args={})
    Hooloo.request('companies', args)['data'].map { |x| new x['company'] }
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
hooloo-0.3.2 lib/hooloo/company.rb
hooloo-0.3.1 lib/hooloo/company.rb
hooloo-0.3.0 lib/hooloo/company.rb
hooloo-0.2.1 lib/hooloo/company.rb
hooloo-0.2.0 lib/hooloo/company.rb
hooloo-0.1.1 lib/hooloo/company.rb
hooloo-0.1.0 lib/hooloo/company.rb