Sha256: 82185da6567c75cad3026e5903499ac0ed64c7c59dfd70607c878aebb396c6f3

Contents?: true

Size: 613 Bytes

Versions: 12

Compression:

Stored size: 613 Bytes

Contents

module ReceiverOptionsStubs

  def successful_receiver_options_response
    StubResponse.succeeded <<-XML
      <receivers>
        <receiver>
          <name>Api</name>
          <receiver_type>test</receiver_type>
          <hostnames>http://api.example.com/post</hostnames>
          <company_name>The Example API</company>
        </receiver>
        <receiver>
          <name>Funny</name>
          <receiver_type>test</receiver_type>
          <hostnames>http://funny.pretend.example.com</hostnames>
          <company_name>Funny Pretend</company>
        </receiver>
      </receivers>
    XML
  end

end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
spreedly-2.0.28 test/unit/response_stubs/receiver_options_stubs.rb
spreedly-2.0.27 test/unit/response_stubs/receiver_options_stubs.rb
spreedly-2.0.26 test/unit/response_stubs/receiver_options_stubs.rb
spreedly-2.0.25 test/unit/response_stubs/receiver_options_stubs.rb
spreedly-2.0.24 test/unit/response_stubs/receiver_options_stubs.rb
spreedly-2.0.23 test/unit/response_stubs/receiver_options_stubs.rb
spreedly-2.0.22 test/unit/response_stubs/receiver_options_stubs.rb
spreedly-2.0.21 test/unit/response_stubs/receiver_options_stubs.rb
spreedly-2.0.20 test/unit/response_stubs/receiver_options_stubs.rb
spreedly-2.0.19 test/unit/response_stubs/receiver_options_stubs.rb
spreedly-2.0.18 test/unit/response_stubs/receiver_options_stubs.rb
spreedly-2.0.17 test/unit/response_stubs/receiver_options_stubs.rb