Sha256: 19eb47869b1cc389ced9d9881486a1a9164bc04be46f4394f0a045aaef9914e6

Contents?: true

Size: 352 Bytes

Versions: 2

Compression:

Stored size: 352 Bytes

Contents

require 'seo_friendly/source_searcher'
require 'seo_friendly/data_extractor'
require 'seo_friendly/seo_params_processor'

module SeoFriendly
  class SeoUpdater < SeoParamsProcessor

    def update
      seo_record = SeoSearcher.new(instance.id, instance.class.name).search
      seo_record.update_attributes(extracted_seo_attributes)
    end

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
seo_friendly-0.0.2 lib/seo_friendly/seo_updater.rb
seo_friendly-0.0.1 lib/seo_friendly/seo_updater.rb