Class: Cline::GlobalState::General::DismissedBanner

Inherits:
Schema
  • Object
show all
Defined in:
lib/cline/global_state/general.rb

Overview

Dismissed banner entry

Instance Attribute Summary

Attributes inherited from Schema

#extra_attributes

Public API collapse

Methods inherited from Schema

#==, as_hash, cast, cline_snake_attributes, of_hash, #to_cline_json, #to_hash

Instance Method Details

Returns Banner identifier.

Returns:

  • (String)

    Banner identifier



10
# File 'lib/cline/global_state/general.rb', line 10

attribute :banner_id, :string

#dismissed_atInteger

Returns Timestamp when banner was dismissed.

Returns:

  • (Integer)

    Timestamp when banner was dismissed



13
# File 'lib/cline/global_state/general.rb', line 13

attribute :dismissed_at, :integer