Class: SynergyWholesale::Types::Domain

Inherits:
Dry::Struct
  • Object
show all
Defined in:
lib/synergy_wholesale/types/domain.rb

Instance Method Summary collapse

Instance Method Details

#to_paramObject



6
7
8
9
10
# File 'lib/synergy_wholesale/types/domain.rb', line 6

def to_param
  {
    domain_name: name
  }
end

#to_sObject



12
13
14
# File 'lib/synergy_wholesale/types/domain.rb', line 12

def to_s
  name
end