Sha256: a4f449d183578d415aaa10b7bcffecc0cd91262e2c39f7eb354a486459402cd9

Contents?: true

Size: 301 Bytes

Versions: 4

Compression:

Stored size: 301 Bytes

Contents

module DiscountNetwork
  class Supplementary < Base
    def list
      DiscountNetwork.get_resource(
        "supplementaries",
      ).supplementaries
    end

    def create(attributes)
      DiscountNetwork.post_resource(
        "supplementaries", subscriber: attributes
      )
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
discountnetwork-0.1.3 lib/discountnetwork/supplementary.rb
discountnetwork-0.1.2 lib/discountnetwork/supplementary.rb
discountnetwork-0.1.1 lib/discountnetwork/supplementary.rb
discountnetwork-0.1.0 lib/discountnetwork/supplementary.rb