Sha256: 9ef482e0db1ee703d33fe867a8868e95d2d2bf8fa8bffea78f21c91ff3ebc29b

Contents?: true

Size: 1.71 KB

Versions: 2

Compression:

Stored size: 1.71 KB

Contents

require 'rest_client'
require 'time'
require 'marver/version'

module Marver

  # Base Classes
  autoload :Client,                 'marver/client'
  autoload :Configuration,          'marver/configuration'
  autoload :DataContainer,          'marver/data_container'

  # Finders
  autoload :CharacterFinder,        'marver/finders/character_finder'
  autoload :SerieFinder,            'marver/finders/serie_finder'
  autoload :ComicFinder,            'marver/finders/comic_finder'
  autoload :EventFinder,            'marver/finders/event_finder'
  autoload :StoryFinder,            'marver/finders/story_finder'

  # API
  autoload :API,                   'marver/api'

  # Helpers & builders
  autoload :StringHelper,           'marver/helpers/string_helper'

  # Common Entities
  autoload :TextObject,   'marver/entities/text_object'
  autoload :Image,        'marver/entities/image'
  autoload :Url,          'marver/entities/url'
  autoload :KeyDate,      'marver/entities/key_date'
  autoload :Price,        'marver/entities/price'

  # Core Entities
  autoload :Event,     'marver/entities/event'
  autoload :Serie,     'marver/entities/serie'
  autoload :Story,     'marver/entities/story'
  autoload :Character, 'marver/entities/character'
  autoload :Creator,   'marver/entities/creator'
  autoload :Comic,     'marver/entities/comic'

  # Summary Entities
  autoload :Summary,    'marver/entities/summary'

  autoload :Summarizable, 'marver/entities/summarizable'
  autoload :Commonable,   'marver/entities/commonable'
  autoload :Queryable,   'marver/entities/queryable'


  class << self
    attr_accessor :configuration

    def configure
      self.configuration ||= Configuration.new
      yield(configuration)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
marver-0.0.6 lib/marver.rb
marver-0.0.5 lib/marver.rb