Sha256: bbeceb57bd3228d57f5d09a6fe1bddc3632d02c5ebd6808a353d19dec7c9df4d
Contents?: true
Size: 527 Bytes
Versions: 65
Compression:
Stored size: 527 Bytes
Contents
require 'fog/ecloud/models/compute/login_banner' module Fog module Compute class Ecloud class LoginBanners < Fog::Ecloud::Collection identity :href model Fog::Compute::Ecloud::LoginBanner def all data = service.get_login_banners(href).body load(data) end def get(uri) if data = service.get_login_banner(uri) new(data.body) end rescue Fog::Errors::NotFound nil end end end end end
Version data entries
65 entries across 65 versions & 6 rubygems