Sha256: dc9dde66a4abba29758a0085a010e3f3130b06a8a9f7bc95ac979e9f84f0ca16

Contents?: true

Size: 248 Bytes

Versions: 7

Compression:

Stored size: 248 Bytes

Contents

class Jets::Api::Gems
  class Registered
    include Jets::Api

    def all
      resp = Jets::Api::Gems.registered
      resp["gems"]
    rescue Jets::Api::RequestError => e
      puts "WARNING: #{e.class}: #{e.message}"
      []
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
jets-api-0.2.0 lib/jets/api/gems/registered.rb
jets-api-0.1.5 lib/jets/api/gems/registered.rb
jets-api-0.1.4 lib/jets/api/gems/registered.rb
jets-api-0.1.3 lib/jets/api/gems/registered.rb
jets-api-0.1.2 lib/jets/api/gems/registered.rb
jets-api-0.1.1 lib/jets/api/gems/registered.rb
jets-api-0.1.0 lib/jets/api/gems/registered.rb