Sha256: debd750588aa3deaad117e3af51d69bb3a49294d68162239b2a0b94699b88b27

Contents?: true

Size: 378 Bytes

Versions: 3

Compression:

Stored size: 378 Bytes

Contents

# frozen_string_literal: true

module Kentaa
  module Api
    module Resources
      class Consent
        attr_reader :data

        def initialize(data)
          @data = data
        end

        def url
          data[:url]
        end

        def text
          data[:text]
        end

        def version
          data[:version]
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
kentaa-api-0.6.0 lib/kentaa/api/resources/consent.rb
kentaa-api-0.5.0 lib/kentaa/api/resources/consent.rb
kentaa-api-0.4.0 lib/kentaa/api/resources/consent.rb