Class: Udb::Company
- Inherits:
-
Object
- Object
- Udb::Company
- Extended by:
- T::Sig
- Defined in:
- lib/udb/obj/database_obj.rb
Overview
A company description
Instance Method Summary collapse
-
#initialize(data) ⇒ Company
constructor
A new instance of Company.
- #name ⇒ Object
- #to_s ⇒ Object
- #url ⇒ Object
Constructor Details
#initialize(data) ⇒ Company
Returns a new instance of Company.
476 477 478 |
# File 'lib/udb/obj/database_obj.rb', line 476 def initialize(data) @data = data end |
Instance Method Details
#name ⇒ Object
482 |
# File 'lib/udb/obj/database_obj.rb', line 482 def name = T.must(@data["name"]) |
#to_s ⇒ Object
489 |
# File 'lib/udb/obj/database_obj.rb', line 489 def to_s = name |
#url ⇒ Object
486 |
# File 'lib/udb/obj/database_obj.rb', line 486 def url = T.must(@data["url"]) |