Sha256: 5f2f27fd1829710d1ee50f56f7ed631ec1017d968af27932e3f25139c082329b
Contents?: true
Size: 533 Bytes
Versions: 13
Compression:
Stored size: 533 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 = connection.get_login_banners(href).body load(data) end def get(uri) if data = connection.get_login_banner(uri) new(data.body) end rescue Fog::Errors::NotFound nil end end end end end
Version data entries
13 entries across 13 versions & 7 rubygems