Sha256: 8854eb578f9a5f5f13fb07c74409122379fae3da91ee5760251e4733010503ad

Contents?: true

Size: 316 Bytes

Versions: 12

Compression:

Stored size: 316 Bytes

Contents

module Billimatic
  module Resources
    class Contract < Base
      crud :create, :update, :destroy

      def search(name:)
        http.get(
          "#{resource_base_path}/search", params: { name: name }
        ) do |response|
          respond_with_collection response
        end
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
billimatic-client-0.12.0 lib/billimatic/resources/contract.rb
billimatic-client-0.11.3 lib/billimatic/resources/contract.rb
billimatic-client-0.11.2 lib/billimatic/resources/contract.rb
billimatic-client-0.11.1 lib/billimatic/resources/contract.rb
billimatic-client-0.11.0 lib/billimatic/resources/contract.rb
billimatic-client-0.10.2 lib/billimatic/resources/contract.rb
billimatic-client-0.10.1 lib/billimatic/resources/contract.rb
billimatic-client-0.10.0 lib/billimatic/resources/contract.rb
billimatic-client-0.9.0 lib/billimatic/resources/contract.rb
billimatic-client-0.8.0 lib/billimatic/resources/contract.rb
billimatic-client-0.7.0 lib/billimatic/resources/contract.rb
billimatic-client-0.6.0 lib/billimatic/resources/contract.rb