Sha256: 04cf8e8c9dc129d12a5326a93cfa96d6c23237e08322f84a5a70ea96c64c87e9

Contents?: true

Size: 313 Bytes

Versions: 5

Compression:

Stored size: 313 Bytes

Contents

require "flex_commerce_api/api_base"
module FlexCommerce
  #
  # A flex commerce Redirect model
  #
  # This model provides access to the flex commerce redirect
  #
  class Redirect < FlexCommerceApi::ApiBase

    def self.find_by_path(source_path: )
      where(source_path: source_path).first
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
flex_commerce_api-0.8.3 app/models/redirect.rb
flex_commerce_api-0.8.2 app/models/redirect.rb
flex_commerce_api-0.8.1 app/models/redirect.rb
flex_commerce_api-0.7 app/models/redirect.rb
flex_commerce_api-0.6.57 app/models/redirect.rb