Class: Thron::Gateway::Package

Inherits:
Struct
  • Object
show all
Defined in:
lib/thron/gateway/base.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#domainObject

Returns the value of attribute domain

Returns:

  • (Object)

    the current value of domain



7
8
9
# File 'lib/thron/gateway/base.rb', line 7

def domain
  @domain
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



7
8
9
# File 'lib/thron/gateway/base.rb', line 7

def name
  @name
end

#serviceObject

Returns the value of attribute service

Returns:

  • (Object)

    the current value of service



7
8
9
# File 'lib/thron/gateway/base.rb', line 7

def service
  @service
end

Instance Method Details

#to_sObject



8
9
10
# File 'lib/thron/gateway/base.rb', line 8

def to_s
  "#{name}/#{domain}/#{service}"
end