diff options
| author | Ted Ross <tross@apache.org> | 2011-01-10 14:08:50 +0000 |
|---|---|---|
| committer | Ted Ross <tross@apache.org> | 2011-01-10 14:08:50 +0000 |
| commit | 02f19f9718c7837463bfef8a01d589e0d9c4bb11 (patch) | |
| tree | c7a004482e5d1b1685eec2ee7cf438d78f97285c /cpp/bindings/qmf2/ruby | |
| parent | 120ea440ef9d048d3bb31e6118027f5c9e890fca (diff) | |
| download | qpid-python-02f19f9718c7837463bfef8a01d589e0d9c4bb11.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/qpid@1057200 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/bindings/qmf2/ruby')
| -rw-r--r-- | cpp/bindings/qmf2/ruby/qmf2.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/cpp/bindings/qmf2/ruby/qmf2.rb b/cpp/bindings/qmf2/ruby/qmf2.rb index 97e71c642b..6c6dbf357d 100644 --- a/cpp/bindings/qmf2/ruby/qmf2.rb +++ b/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 |
