Module: Artbase

Defined in:
lib/originals/service.rb,
lib/originals/service.rb

Overview

forward define superclass for image

Defined Under Namespace

Classes: Image, Service

Constant Summary collapse

COLLECTIONS =

todo/fix: move name variants into artbase server itelf - why? why not?

{
  'punk'            => 'punks',
  'morepunk'        => 'morepunks',
  'readymadepunk'   => 'readymadepunks',
  'bwpunk'          => 'bwpunks',
  'frontpunk'       => 'frontpunks',
  'intlpunk'        => 'intlpunks',
  'boredape'        => 'boredapes',
  'ape'             => 'apes',
  'basicboredape'   => 'basicboredapes',
  'coolcat'         => 'coolcats',
  'dooggie'         => 'dooggies',
  'mooncat'         => 'mooncatrescue',
  'moonbear'        => 'moonbears',
  'moonbird'        => 'moonbirds',
  'starbird'        => 'starbirds',
  'moonbirdpunk'    => 'moonbirdpunks',
  '8bit'            => '8bits',
  'gopher'          => 'gophers',
  'rock'            => 'rocks',
  'punkrock'        => 'punkrocks',
}

Class Method Summary collapse

Class Method Details

.serviceObject

convenience helpers / shortcuts



15
16
17
# File 'lib/originals/service.rb', line 15

def self.service   ## "shared" single (default) instance
  @service ||= Service.new
end