Sha256: 537ff7949a7bf011824c84179aa28df4cb73487f2fab6b24d942b534385b322a
Contents?: true
Size: 440 Bytes
Versions: 14
Compression:
Stored size: 440 Bytes
Contents
module Fog module Compute class Google class Routes < Fog::Collection model Fog::Compute::Google::Route def all data = service.list_routes.body load(data["items"] || []) end def get(identity) if route = service.get_route(identity).body new(route) end rescue Fog::Errors::NotFound nil end end end end end
Version data entries
14 entries across 14 versions & 1 rubygems