Sha256: 02ce424d0f80b25f03b74bbed2a4df90ba9d666d11535b31e5b4329cd022a299
Contents?: true
Size: 475 Bytes
Versions: 3
Compression:
Stored size: 475 Bytes
Contents
# frozen_string_literal: true module Kentaa module Api module Clients class Segments < Base include Kentaa::Api::Clients::All def list(options = {}) segments = Kentaa::Api::Resources::Segments.new(config, options) segments.load end def get(id, options = {}) segment = Kentaa::Api::Resources::Segment.new(config, options.merge(id: id)) segment.load end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
kentaa-api-0.3.2 | lib/kentaa/api/clients/segments.rb |
kentaa-api-0.3.1 | lib/kentaa/api/clients/segments.rb |
kentaa-api-0.3.0 | lib/kentaa/api/clients/segments.rb |