Sha256: e58bc3d3141517a7ec65aae7727183c428acc71eb1409ed083f9fb21fb0e92ae

Contents?: true

Size: 360 Bytes

Versions: 4

Compression:

Stored size: 360 Bytes

Contents

module Connfu
  module Provisioning

    # This class models s connFu RSS channel
    class Rss < Channel

      # RSS URI
      attr_accessor :uri

      def initialize(params)
        super(params)
        self.channel_type = "rss"
      end

      def to_hash
        {"uid" => uid, "channel_type" => channel_type, "uri" => uri}
      end

    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
connfu-client-0.1.6 lib/connfu/provisioning/rss.rb
connfu-client-0.1.5 lib/connfu/provisioning/rss.rb
connfu-client-0.1.4 lib/connfu/provisioning/rss.rb
connfu-client-0.1.3 lib/connfu/provisioning/rss.rb