Sha256: 32274b317c8f4398cf88753f99da9fb120f0c2a76487030e02530cad3e4b417b
Contents?: true
Size: 529 Bytes
Versions: 14
Compression:
Stored size: 529 Bytes
Contents
module Access class Channel include Access::MuchMeta def self.search(options = {}) Access::Api.new.search_channels options end def self.find(channel_key, options = {}) Access::Api.new.find_channel channel_key, options end def self.process_batch(chunk) chunk.map { |channel| new(channel) } end def initialize(values) @used_fields = [] set_up_methods(values) set_values(values) @links = Access::Link.process_batch(@links) if @links end end end
Version data entries
14 entries across 14 versions & 1 rubygems