-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -58,6 +58,20 @@ Building an URI from initial parts: | |
``` ruby | ||
Furi.build(protocol: '//', host: 'gusiev.com', path: '/assets/application.js') | ||
# => "//gusiev.com/assets/application.js" | ||
|
||
Furi.build( | ||
location: 'https://calendar.google.com', | ||
path: '/calendar/render', | ||
query: { | ||
action: 'TEMPLATE', | ||
text: 'Seven Figure Club Meeting', | ||
dates: [Time.now + 2.hours, Time.now + 3.hours].map do |t| | ||
t.strftime("%Y%m%dT%H%M%SZ") | ||
end.join('/'), | ||
details: 'Seven Figure Club invites to the discussion with other founders to one of the topics you have expressed your interest to.', | ||
add: ["[email protected]", "[email protected]"].join(',') | ||
} | ||
) | ||
``` | ||
|
||
### Working with Object | ||
|