site (ActiveResource::Base)

    # File lib/active_resource/base.rb, line 211
          def site
            # Not using superclass_delegating_reader because don't want subclasses to modify superclass instance
            #
            # With superclass_delegating_reader
            #
            #   Parent.site = 'http://anonymous@test.com'
            #   Subclass.site # => 'http://anonymous@test.com'
            #   Subclass.site.user = 'david'
            #   Parent.site # => 'http://david@test.com'
            #
            # Without superclass_delegating_reader (expected behaviour)
            #
            #   Parent.site = 'http://anonymous@test.com'
            #   Subclass.site # => 'http://anonymous@test.com'
            #   Subclass.site.user = 'david' # => TypeError: can't modify frozen object
            #
            if defined?(@site)
              @site
            elsif superclass != Object && superclass.site
              superclass.site.dup.freeze
            end
          end