Sha256: 201091fec5d0f66f5269052b2da335f9d66b5f7c107b4e89118bcc89e0a30e8b

Contents?: true

Size: 257 Bytes

Versions: 4

Compression:

Stored size: 257 Bytes

Contents

require 'active_resource'

module Ddr
  #
  # Abstract superclass for resources bound to ddr-aux API data
  #
  class AuxiliaryResource < ActiveResource::Base

    # ActiveResource freezes `site` in subclasses
    self.site = Ddr.ddr_aux_api_url

  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ddr-core-1.2.0 app/models/ddr/auxiliary_resource.rb~
ddr-core-1.2.0.rc3 app/models/ddr/auxiliary_resource.rb~
ddr-core-1.2.0.rc2 app/models/ddr/auxiliary_resource.rb~
ddr-core-1.2.0.rc1 app/models/ddr/auxiliary_resource.rb~