Sha256: c0b1c09b7986b6c7b53d04a267052b5649be969bb8fb02e2279cd8da3b40d418

Contents?: true

Size: 495 Bytes

Versions: 7

Compression:

Stored size: 495 Bytes

Contents

module GoTransverseTractApi

  module Product

    class PriceList

      def self.find_all
        GoTransverseTractApi.get_response_for(self.class)
      end

      #
      # @param {Long} eid
      #
      def self.find_by_eid eid
        GoTransverseTractApi.get_response_for(self.class, {eid: eid})
      end

      #
      # @param {String} name
      #
      def self.find_by_name name
        GoTransverseTractApi.get_response_for(self.class, {name: name})
      end

    end

  end

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
gotransverse-tract-api-0.0.12 lib/gotransverse-tract-api/product/price_list.rb
gotransverse-tract-api-0.0.11 lib/gotransverse-tract-api/product/price_list.rb
gotransverse-tract-api-0.0.10 lib/gotransverse-tract-api/product/price_list.rb
gotransverse-tract-api-0.0.9 lib/gotransverse-tract-api/product/price_list.rb
gotransverse-tract-api-0.0.8 lib/gotransverse-tract-api/product/price_list.rb
gotransverse-tract-api-0.0.7 lib/gotransverse-tract-api/product/price_list.rb
gotransverse-tract-api-0.0.6 lib/gotransverse-tract-api/product/price_list.rb