Sha256: 146ff10b15de385c8c57b425e0dadab2e72251f10d67740ae85d40b7ae5f1fd6

Contents?: true

Size: 457 Bytes

Versions: 1

Compression:

Stored size: 457 Bytes

Contents

# encoding: utf-8
# frozen_string_literal: true

module Nimbu
  module Endpoints
    class Simulator < Endpoint
      def recipe(*args)
        arguments(args)

        response = post_request("/simulator/recipe", arguments.params)
        response
      end

      def render(*args)
        arguments(args)

        response = post_request("/simulator/render", arguments.params)
        response
      end
    end # Simulator
  end # Endpoints
end # Nimbu

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
nimbu-api-0.5.0 lib/nimbu-api/endpoints/simulator.rb