Sha256: 227351af53fea0fa071d16dd01f3e647c87c4fd78e364465619796a390cc02d0

Contents?: true

Size: 945 Bytes

Versions: 1

Compression:

Stored size: 945 Bytes

Contents

require 'active_support'
require 'class_inheritable_attributes'
require 'ostruct'
require 'cgi'
require 'uri'
require 'net/https'
require 'web_service/core_ext'

module WebService
  autoload :Site,                 'web_service/site'
  autoload :Resource,             'web_service/resource'
  autoload :AttributeAccessors,   'web_service/attribute_accessors'
  autoload :RemoteCollection,     'web_service/remote_collection'
  autoload :ResponseHandling,     'web_service/response_handling'
  autoload :NamedRequestMethods,  'web_service/named_request_methods'
  autoload :CRUDOperations,       'web_service/crud_operations'
  
  class Error < StandardError
  end
  class ResourceNotSaved < Error
  end
  class NotResourceClass < Error
  end
  
  class << self
    def logger
      @logger ||= begin
        require 'logger'
        Logger.new(STDOUT)
      end
    end
    attr_writer :logger
  end
  
  include ResponseHandling::Exceptions
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
Roman2K-web-service-0.1.1 lib/web_service.rb