Sha256: 1af4cd3c647b6cd27f39fd0c3fb1fe41f16549fd3afa2fc01c6401c53112415b
Contents?: true
Size: 526 Bytes
Versions: 17
Compression:
Stored size: 526 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
17 entries across 17 versions & 5 rubygems