summaryrefslogtreecommitdiff
path: root/qpid/cpp/bindings/qmf2/ruby
diff options
context:
space:
mode:
authorTed Ross <tross@apache.org>2011-01-10 14:08:50 +0000
committerTed Ross <tross@apache.org>2011-01-10 14:08:50 +0000
commitb7f5f402c2f1f92f84bf8cdfc5b15a87714fbcbf (patch)
treeae8f38abdd7d299d252569b91510c44b445dafb4 /qpid/cpp/bindings/qmf2/ruby
parentb1cd22ae277d9a987d37e2538aded2f3521bc362 (diff)
downloadqpid-python-b7f5f402c2f1f92f84bf8cdfc5b15a87714fbcbf.tar.gz
Updated Python and Ruby wrappers to reflect API changes.
Updates to the agent examples. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1057200 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/bindings/qmf2/ruby')
-rw-r--r--qpid/cpp/bindings/qmf2/ruby/qmf2.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/qpid/cpp/bindings/qmf2/ruby/qmf2.rb b/qpid/cpp/bindings/qmf2/ruby/qmf2.rb
index 97e71c642b..6c6dbf357d 100644
--- a/qpid/cpp/bindings/qmf2/ruby/qmf2.rb
+++ b/qpid/cpp/bindings/qmf2/ruby/qmf2.rb
@@ -250,10 +250,8 @@ module Qmf2
@impl = Cqmf2::Data.new
elsif arg.class == Cqmf2::Data
@impl = arg
- elsif arg.class == SchemaId
- @impl = Cqmf2::Data(arg.impl)
elsif arg.class == Schema
- @impl = Cqmf2::Data(arg.impl.getSchemaId)
+ @impl = Cqmf2::Data(arg.impl)
else
raise "Unsupported initializer for Data"
end