Sha256: d8c823b916bf11d7820db57de1840da376989a3dc7c5e9cfbdb178386bbc7b8b

Contents?: true

Size: 259 Bytes

Versions: 2

Compression:

Stored size: 259 Bytes

Contents

module TalonOne
  module Integration
    class MetaData
      def initialize(raw_data)
        @raw = raw_data
      end

      def campaign_data
        @raw["campaigns"]
      end

      def coupon_data
        @raw["coupons"]
      end
    end
  end
end
  

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
talon_one-0.1.3 lib/integration/meta_data.rb
talon_one-0.1.2 lib/integration/meta_data.rb