Class: Thron::Gateway::Package
- Inherits:
-
Struct
- Object
- Struct
- Thron::Gateway::Package
- Defined in:
- lib/thron/gateway/base.rb
Instance Attribute Summary collapse
-
#domain ⇒ Object
Returns the value of attribute domain.
-
#name ⇒ Object
Returns the value of attribute name.
-
#service ⇒ Object
Returns the value of attribute service.
Instance Method Summary collapse
Instance Attribute Details
#domain ⇒ Object
Returns the value of attribute domain
7 8 9 |
# File 'lib/thron/gateway/base.rb', line 7 def domain @domain end |
#name ⇒ Object
Returns the value of attribute name
7 8 9 |
# File 'lib/thron/gateway/base.rb', line 7 def name @name end |
#service ⇒ Object
Returns the value of attribute service
7 8 9 |
# File 'lib/thron/gateway/base.rb', line 7 def service @service end |
Instance Method Details
#to_s ⇒ Object
8 9 10 |
# File 'lib/thron/gateway/base.rb', line 8 def to_s "#{name}/#{domain}/#{service}" end |