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

- old
+ new

@@ -13,10 +13,10 @@ 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 = Kentaa::Api::Resources::Segment.new(config, id: id, options: options) segment.load end end end end