Sha256: 5c5f0a1ee9152e9512220830cdb22e25039f041b7e86af3f8ca1e5e5aa59860f

Contents?: true

Size: 329 Bytes

Versions: 1

Compression:

Stored size: 329 Bytes

Contents

# encoding: utf-8
# frozen_string_literal: true

module Nimbu
  module Endpoints
    class Functions < Endpoint
      def run(*args)
        arguments(args, required: [:function_id])

        post_request("/functions/#{function_id}", 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/functions.rb