Sha256: 157bc384f11a23e23f81e5afb9dbd016f2105352603a9826a00c4fbcc478ed98

Contents?: true

Size: 346 Bytes

Versions: 3

Compression:

Stored size: 346 Bytes

Contents

# frozen_string_literal: true

module Kentaa
  module Api
    module Resources
      class Banner < Resource
        def url
          data[:url]
        end

        def text
          data[:text]
        end

        def link
          data[:link]
        end

        def locale
          data[:locale]
        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/banner.rb
kentaa-api-0.3.1 lib/kentaa/api/resources/banner.rb
kentaa-api-0.3.0 lib/kentaa/api/resources/banner.rb