Sha256: 09d11466f829573bb053d2b9fe9f82a6add755a7d39c94d0affe72f76fd06c92
Contents?: true
Size: 294 Bytes
Versions: 4
Compression:
Stored size: 294 Bytes
Contents
# frozen_string_literal: true module Redd module Models # A model that can be gilded. module Gildable # Gift a user one month of reddit gold for their link or comment. def gild client.post("/api/v1/gold/gild/#{read_attribute(:name)}") end end end end
Version data entries
4 entries across 4 versions & 2 rubygems
Version | Path |
---|---|
spinels-redd-0.9.0 | lib/redd/models/gildable.rb |
redd-0.9.0.pre.3 | lib/redd/models/gildable.rb |
redd-0.9.0.pre.2 | lib/redd/models/gildable.rb |
redd-0.9.0.pre.1 | lib/redd/models/gildable.rb |