Sha256: 6f1ba41b434ffc2639120cec4f23c42e6537aaa39a97e2aa9894d1ec2d82d813
Contents?: true
Size: 512 Bytes
Versions: 4
Compression:
Stored size: 512 Bytes
Contents
require "fog/core/collection" require "fog/brightbox/models/compute/application" module Fog module Compute class Brightbox class Applications < Fog::Collection model Fog::Compute::Brightbox::Application def all data = service.list_applications load(data) end def get(identifier) data = service.get_application(identifier) new(data) rescue Excon::Errors::NotFound nil end end end end end
Version data entries
4 entries across 4 versions & 2 rubygems