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