diff options
Diffstat (limited to 'actionwebservice/lib/action_web_service/support')
-rw-r--r-- | actionwebservice/lib/action_web_service/support/signature_types.rb | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/actionwebservice/lib/action_web_service/support/signature_types.rb b/actionwebservice/lib/action_web_service/support/signature_types.rb index 253e9dcb6a..e0f0c2ecd8 100644 --- a/actionwebservice/lib/action_web_service/support/signature_types.rb +++ b/actionwebservice/lib/action_web_service/support/signature_types.rb @@ -40,8 +40,10 @@ module ActionWebService # :nodoc: case name when :int, :integer, :fixnum, :bignum :int - when :string, :base64 + when :string :string + when :base64 + :base64 when :bool, :boolean :bool when :float, :double @@ -73,6 +75,8 @@ module ActionWebService # :nodoc: :int elsif klass == String :string + elsif klass == Base64 + :base64 elsif klass == TrueClass || klass == FalseClass :bool elsif derived_from?(Float, klass) || derived_from?(Precision, klass) || derived_from?(Numeric, klass) @@ -94,6 +98,8 @@ module ActionWebService # :nodoc: Integer when :string String + when :base64 + Base64 when :bool TrueClass when :float @@ -197,4 +203,7 @@ module ActionWebService # :nodoc: true end end + + class Base64 < String + end end |