Sha256: 34c3c5bbde5344ae4fe364b9606038abb4cfcdabfa5058504f26d23829491169

Contents?: true

Size: 429 Bytes

Versions: 1

Compression:

Stored size: 429 Bytes

Contents

# frozen_string_literal: true

module Kentaa
  module Api
    module Responses
      class Reward < Base
        include Kentaa::Api::Responses::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

1 entries across 1 versions & 1 rubygems

Version Path
kentaa-api-0.1.1 lib/kentaa/api/responses/reward.rb