Class: Rafflesia::DatabaseJoinPathSource
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::DatabaseJoinPathSource
- Defined in:
- lib/rafflesia/database_join_coverage_ledgers/database_join_path_source.rb
Constant Summary collapse
- HASH_ATTRS =
{ database: :database, name: :name, release: :release }.freeze
Instance Attribute Summary collapse
-
#database ⇒ Object
Returns the value of attribute database.
-
#name ⇒ Object
Returns the value of attribute name.
-
#release ⇒ Object
Returns the value of attribute release.
Instance Method Summary collapse
-
#initialize(json) ⇒ DatabaseJoinPathSource
constructor
A new instance of DatabaseJoinPathSource.
Constructor Details
#initialize(json) ⇒ DatabaseJoinPathSource
Returns a new instance of DatabaseJoinPathSource.
19 20 21 22 23 24 25 |
# File 'lib/rafflesia/database_join_coverage_ledgers/database_join_path_source.rb', line 19 def initialize(json) super() hash = self.class.normalize(json) @database = hash[:database] @name = hash[:name] @release = hash[:release] end |
Instance Attribute Details
#database ⇒ Object
Returns the value of attribute database.
14 15 16 |
# File 'lib/rafflesia/database_join_coverage_ledgers/database_join_path_source.rb', line 14 def database @database end |
#name ⇒ Object
Returns the value of attribute name.
14 15 16 |
# File 'lib/rafflesia/database_join_coverage_ledgers/database_join_path_source.rb', line 14 def name @name end |
#release ⇒ Object
Returns the value of attribute release.
14 15 16 |
# File 'lib/rafflesia/database_join_coverage_ledgers/database_join_path_source.rb', line 14 def release @release end |