Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add a call to create a segment queue

  • Loading branch information...
commit 5522bdecceb532d2776de91eb5d94fd00bed89ad 1 parent 1106710
@ismell ismell authored
Showing with 5 additions and 1 deletion.
  1. +1 −1  eloqua_api.gemspec
  2. +4 −0 lib/eloqua_api/rest/segment.rb
View
2  eloqua_api.gemspec
@@ -1,6 +1,6 @@
Gem::Specification.new do |s|
s.name = 'eloqua_api'
- s.version = '0.0.9'
+ s.version = '0.0.10'
s.date = '2012-10-12'
s.summary = "Ruby Eloqua API Wrapper"
s.description = "Convenience wrapper for Eloqua REST and Bulk APIs"
View
4 lib/eloqua_api/rest/segment.rb
@@ -4,6 +4,10 @@ def create_segment(segment)
post("assets/contact/segment", segment)
end
+ def create_segment_queue(segment)
+ post("assets/contact/segment/queue/%s" % segment)
+ end
+
def get_segment(id)
get("assets/contact/segment/%s" % id)
end
Please sign in to comment.
Something went wrong with that request. Please try again.