Sha256: 212f20b4996916ca107eba887e758b9e48d315f211e1e0b4ff5ad2bd08c69aa8

Contents?: true

Size: 379 Bytes

Versions: 16

Compression:

Stored size: 379 Bytes

Contents

controller :my_controller do
  view :test_view
  spots "hello", "world"

  action :my_action do
    on_entry %{
    }

    on "start_request", %{
      var payload = {
        url: "http://test.services.fittr.com/ping",
        params: {},
      };
      Request("rest", payload, "request_response");
    }

    on "request_response", %{
      response = params;
    }
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
flok-0.0.31 spec/kern/assets/rest_service.rb
flok-0.0.30 spec/kern/assets/rest_service.rb
flok-0.0.29 spec/kern/assets/rest_service.rb
flok-0.0.28 spec/kern/assets/rest_service.rb
flok-0.0.27 spec/kern/assets/rest_service.rb
flok-0.0.26 spec/kern/assets/rest_service.rb
flok-0.0.25 spec/kern/assets/rest_service.rb
flok-0.0.24 spec/kern/assets/rest_service.rb
flok-0.0.23 spec/kern/assets/rest_service.rb
flok-0.0.21 spec/kern/assets/rest_service.rb
flok-0.0.20 spec/kern/assets/rest_service.rb
flok-0.0.19 spec/kern/assets/rest_service.rb
flok-0.0.18 spec/kern/assets/rest_service.rb
flok-0.0.17 spec/kern/assets/rest_service.rb
flok-0.0.16 spec/kern/assets/rest_service.rb
flok-0.0.14 spec/kern/assets/rest_service.rb