Sha256: d8ee087c96605030a50f63abfcb7f428f5e3e953a808b99fe7ca6ee64e664d06
Contents?: true
Size: 439 Bytes
Versions: 42
Compression:
Stored size: 439 Bytes
Contents
module Soaspec module TestServer # Simulates ordering a new puppy. Used for testing REST storing, retrieving and updating data class PuppyService @data = {} @current_id = 1 class << self attr_accessor :data def new_id @data[@current_id] = {} @data[@current_id][:Id] = @current_id @current_id += 1 @current_id - 1 end end end end end
Version data entries
42 entries across 42 versions & 1 rubygems