Sha256: a33cebccf1a9e53fd986b99198ce16690f59d0e6400c384ec40636b595dd45e8
Contents?: true
Size: 283 Bytes
Versions: 52
Compression:
Stored size: 283 Bytes
Contents
class Ey::Core::Client::Services < Cistern::Collection model Ey::Core::Client::Service def all(options={}) connection.get_metadata.body.map { |name, attr| new(attr.merge("name" => name)) } end def get(name) self.all.find { |s| s.name == name } end end
Version data entries
52 entries across 52 versions & 3 rubygems