Sha256: 3064669464257572c197d96976312c9f48d9cc3fe634ec9c7a9e1eda6988a9ce
Contents?: true
Size: 417 Bytes
Versions: 4
Compression:
Stored size: 417 Bytes
Contents
class ParameterAliasService < Relax::Service endpoint 'http://example.com/' do action :test do parameter :APIKey, :as => :api_key, :required => true parser :response do attribute :stat end end end end FakeWeb.register_uri(:get, 'http://example.com/?APIKey=secret', :string => <<-RESPONSE) <?xml version="1.0" encoding="utf-8" ?> <response stat="ok"> </response> RESPONSE
Version data entries
4 entries across 4 versions & 2 rubygems