Sha256: e9d017a04b6934ea4f88346b711ac14b7542df8a9fffa40b521a8ea0d95d5ceb

Contents?: true

Size: 307 Bytes

Versions: 2

Compression:

Stored size: 307 Bytes

Contents

module Zuora
  module Calls
    class Query < Hashie::Dash
      def initialize(query_string)
        @query_string = query_string
      end

      def xml_builder
        lambda do |builder|
          builder[:api].query { builder[:api].queryString(@query_string) }
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
zuora-ruby-0.4.0 lib/zuora/calls/query.rb
zuora-ruby-0.3.0 lib/zuora/calls/query.rb