Sha256: 34d6b7e113c4bc6431fcb68998cef086b3e3c58f66abf6cbbc8928134d45d8c6

Contents?: true

Size: 298 Bytes

Versions: 3

Compression:

Stored size: 298 Bytes

Contents

module Workarea
  class Feed::Google
    class NoFeedError < StandardError; end

    include ApplicationDocument
    extend Dragonfly::Model

    field :feed_uid, type: String

    dragonfly_accessor :feed, app: :workarea

    def self.find_first_or_initialize
      first || new
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
workarea-google_product_feed-3.2.0 app/models/workarea/feed/google.rb
workarea-google_product_feed-3.1.4 app/models/workarea/feed/google.rb
workarea-google_product_feed-3.1.3 app/models/workarea/feed/google.rb