lib/wco_hosting/appliance.rb in ish_models-3.1.0.14 vs lib/wco_hosting/appliance.rb in ish_models-3.1.0.15
- old
+ new
@@ -25,16 +25,15 @@
field :domain
def host
"#{subdomain}.#{domain}"
end
- belongs_to :appliance_tmpl, class_name: 'Wco::ApplianceTmpl'
+ belongs_to :appliance_tmpl, class_name: 'WcoHosting::ApplianceTmpl'
def tmpl
appliance_tmpl
end
- belongs_to :serverhost, class_name: 'Wco::Serverhost'
- belongs_to :wco_leadset, class_name: 'Wco::Leadset', inverse_of: :appliances
+ belongs_to :serverhost, class_name: 'WcoHosting::Serverhost'
# field :ip
field :port
STATE_PENDING = 'state-pending'