Sha256: f34626fe5a4f4e5a087ec7fd6a6c9f7eecafdeda2116a48d9379f3dae5bd091b

Contents?: true

Size: 383 Bytes

Versions: 3

Compression:

Stored size: 383 Bytes

Contents

# frozen_string_literal: true

module Kentaa
  module Api
    module Resources
      class Reward < Resource
        def type
          data[:type]
        end

        def title
          data[:title]
        end

        def description
          data[:description]
        end

        def ask_for_address?
          data[:ask_for_address]
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
kentaa-api-0.3.2 lib/kentaa/api/resources/reward.rb
kentaa-api-0.3.1 lib/kentaa/api/resources/reward.rb
kentaa-api-0.3.0 lib/kentaa/api/resources/reward.rb