lib/kentaa/api/clients/segments.rb in kentaa-api-0.3.2 vs lib/kentaa/api/clients/segments.rb in kentaa-api-0.4.0

- old
+ new

@@ -2,10 +2,13 @@ module Kentaa module Api module Clients class Segments < Base - include Kentaa::Api::Clients::All + 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