Sha256: d2dec9352effa4144694d08ab6d04a114f940e99b627f32f844f945eceb94515

Contents?: true

Size: 267 Bytes

Versions: 3

Compression:

Stored size: 267 Bytes

Contents

# frozen_string_literal: true

# rubocop:disable Metrics/MethodLength

module UI
  class BaseUiElement
    # Use this method to return a valid hash and save it for later
    def build(user)
      @template[:recipient][:id] = user.id
      @template
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rubotnik-0.2.3 lib/ui/base_ui_element.rb
rubotnik-0.2.2 lib/ui/base_ui_element.rb
rubotnik-0.2.1 lib/ui/base_ui_element.rb