Sha256: 5f7ee07984603b45358cdfadb3a7a72ac261385ac0b3f2e0206924104b508572

Contents?: true

Size: 280 Bytes

Versions: 3

Compression:

Stored size: 280 Bytes

Contents

module LensProtocol
  # The API layer of the library.
  module OMA
    module_function

    def parse *args
      Parser.new.parse *args
    end

    def generate *args
      Message.from_hash *args
    end

    def format *args
      Formatter.new.format *args
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
lens_protocol-0.1.3 lib/lens_protocol/oma.rb
lens_protocol-0.1.2 lib/lens_protocol/oma.rb
lens_protocol-0.1.1 lib/lens_protocol/oma.rb