Sha256: 8fed5fbd55e96e9420cbc605d61a870b0ef9224f6357c95b322c6acfb1cbd9cd

Contents?: true

Size: 341 Bytes

Versions: 3

Compression:

Stored size: 341 Bytes

Contents

module Soaspec
  module TestServer
    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

3 entries across 3 versions & 1 rubygems

Version Path
soaspec-0.0.68 lib/soaspec/test_server/puppy_service.rb
soaspec-0.0.67 lib/soaspec/test_server/puppy_service.rb
soaspec-0.0.66 lib/soaspec/test_server/puppy_service.rb