Sha256: 1efa7f58df7a59018063227646b41ab09b52f7aed58bf228de592e5afec5a2ed
Contents?: true
Size: 531 Bytes
Versions: 6
Compression:
Stored size: 531 Bytes
Contents
require File.expand_path("../login_banner", __FILE__) 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
6 entries across 6 versions & 2 rubygems