Sha256: 3e64b68512753090d26249ff146bc2a49c81d5b155d04d6ddb22181a1add8b2a
Contents?: true
Size: 555 Bytes
Versions: 65
Compression:
Stored size: 555 Bytes
Contents
require 'fog/ecloud/models/compute/support_ticket' module Fog module Compute class Ecloud class SupportTickets < Fog::Ecloud::Collection identity :href model Fog::Compute::Ecloud::SupportTicket def all data = service.get_support_tickets(href).body[:TicketReference] load(data) end def get(uri) if data = service.get_support_ticket(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