# frozen_string_literal: true module Kentaa module Api module Clients class Segments < Base def all(options = {}) segments = Kentaa::Api::Resources::Segments.new(config, options) segments.all end 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, id: id, options: options) segment.load end end end end end