Sha256: fb074e7047e91c21767f4a2eaa1306c77ed0aa8dd03f32909145f9cb9d6a0f31

Contents?: true

Size: 214 Bytes

Versions: 1

Compression:

Stored size: 214 Bytes

Contents

module MooMoo
  module OpenSRS
    module Utils
      def try_opensrs
        begin
          yield
        rescue Exception => e
          raise OpenSRSException, e.message
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
moo_moo-0.1.0 lib/moo_moo/opensrs/utils.rb