Class: Aws::Xray::Sql
- Inherits:
-
Struct
- Object
- Struct
- Aws::Xray::Sql
- Defined in:
- lib/aws/xray/sql.rb
Instance Attribute Summary collapse
-
#database_version ⇒ Object
Returns the value of attribute database_version.
-
#url ⇒ Object
Returns the value of attribute url.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#database_version ⇒ Object
Returns the value of attribute database_version
3 4 5 |
# File 'lib/aws/xray/sql.rb', line 3 def database_version @database_version end |
#url ⇒ Object
Returns the value of attribute url
3 4 5 |
# File 'lib/aws/xray/sql.rb', line 3 def url @url end |
Class Method Details
.build(url: nil, database_version: nil) ⇒ Object
4 5 6 |
# File 'lib/aws/xray/sql.rb', line 4 def self.build(url: nil, database_version: nil) new(url, database_version) end |
Instance Method Details
#to_h ⇒ Object
8 9 10 |
# File 'lib/aws/xray/sql.rb', line 8 def to_h super.delete_if {|_, v| v.nil? } end |