Sha256: 82dac25c6a538895b84ab012b28e10c007939f15bd5436d3441594c4904e46f4

Contents?: true

Size: 766 Bytes

Versions: 4

Compression:

Stored size: 766 Bytes

Contents

module ForestAdminDatasourceToolkit
  module Components
    class Caller
      attr_reader :id, :email, :first_name, :last_name, :tags, :team, :rendering_id, :timezone, :permission_level, :role

      def initialize(
        id:,
        email:,
        first_name:,
        last_name:,
        team:,
        rendering_id:,
        tags:,
        timezone:,
        permission_level:,
        role: nil,
        request: {}
      )
        @id = id
        @email = email
        @first_name = first_name
        @last_name = last_name
        @team = team
        @rendering_id = rendering_id
        @tags = tags
        @timezone = timezone
        @permission_level = permission_level
        @role = role
        @request = request
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
forest_admin_datasource_toolkit-1.0.0.pre.beta.81 lib/forest_admin_datasource_toolkit/components/caller.rb
forest_admin_datasource_toolkit-1.0.0.pre.beta.80 lib/forest_admin_datasource_toolkit/components/caller.rb
forest_admin_datasource_toolkit-1.0.0.pre.beta.79 lib/forest_admin_datasource_toolkit/components/caller.rb
forest_admin_datasource_toolkit-1.0.0.pre.beta.78 lib/forest_admin_datasource_toolkit/components/caller.rb