```ruby
# encoding: utf-8

class Api::BaseRepresenter < Roar::Decorator

  include Roar::Representer::JSON::HAL

  include FormatKeys
  include UriMethods
  include Curies
  include Embeds
  include Caches
  include LinkSerialize

  curies(:prx) do
    [{
      name: :prx,
      href: "http://#{prx_meta_host}/relation/{rel}",
      templated: true
    }]
  end

  self_link

  profile_link
end
```

Use HAR base, remove includes, add in url methods
user
```ruby
# encoding: utf-8
require 'hal_api/representer'

class Api::BaseRepresenter < HalApi::Representer
  curies(:prx) do
    [{
      name: :prx,
      href: "http://#{profile_host}/relation/{rel}",
      templated: true
    }]
  end

  def self.alternate_host
    "www.prx.org"
  end

  def self.profile_host
    "meta.prx.org"
  end
end
```
assistant