Skip to content
#

uri

Here are 400 public repositories matching this topic...

serradura
serradura commented Nov 9, 2017
client = RequestVia::Client.('example.com')

client.get '/foo'

foo_client = RequestVia::Client::Map.(client, 'foo')

foo_client.get # == client.get '/foo'

# or

foo_client = client.map.('/foo')

# ==============
# Possibilities
# ==============

[
  'foo'
  'bar',
].map &client.map # ou &RequestVia::Client::Map.(client)
 .map &:get

# or

require 'ostruct'

res

Improve this page

Add a description, image, and links to the uri topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the uri topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.