Sha256: ea727b867f496e1dafd0eeb2d375ff4eb7a3208a47cddbc6889a5df1b3210b0c

Contents?: true

Size: 432 Bytes

Versions: 7

Compression:

Stored size: 432 Bytes

Contents

module GoTransverseTractApi

  module Product

    class Action

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

      #
      # @param {Long} product_eid
      #
      def self.find_by_product_eid product_eid
        GoTransverseTractApi.get_response_for(self.class, {product_eid: product_eid})
      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/action.rb
gotransverse-tract-api-0.0.11 lib/gotransverse-tract-api/product/action.rb
gotransverse-tract-api-0.0.10 lib/gotransverse-tract-api/product/action.rb
gotransverse-tract-api-0.0.9 lib/gotransverse-tract-api/product/action.rb
gotransverse-tract-api-0.0.8 lib/gotransverse-tract-api/product/action.rb
gotransverse-tract-api-0.0.7 lib/gotransverse-tract-api/product/action.rb
gotransverse-tract-api-0.0.6 lib/gotransverse-tract-api/product/action.rb