Class: Purview::Structs::TableMetadata
- Inherits:
-
Base
- Object
- OpenStruct
- Base
- Purview::Structs::TableMetadata
show all
- Defined in:
- lib/purview/structs/table_metadata.rb
Instance Method Summary
collapse
Methods inherited from Base
#[], #[]=, #method_missing
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
in the class Purview::Structs::Base
Instance Method Details
#diabled? ⇒ Boolean
4
5
6
|
# File 'lib/purview/structs/table_metadata.rb', line 4
def diabled?
!enabled?
end
|
#enabled? ⇒ Boolean
8
9
10
|
# File 'lib/purview/structs/table_metadata.rb', line 8
def enabled?
!!enabled_at
end
|
#initialized? ⇒ Boolean
12
13
14
|
# File 'lib/purview/structs/table_metadata.rb', line 12
def initialized?
!!max_timestamp_pulled
end
|
#locked? ⇒ Boolean
16
17
18
|
# File 'lib/purview/structs/table_metadata.rb', line 16
def locked?
!!locked_at
end
|
#unlocked? ⇒ Boolean
20
21
22
|
# File 'lib/purview/structs/table_metadata.rb', line 20
def unlocked?
!locked?
end
|