Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Z
zoholib
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gems
zoholib
Commits
980cbbad
Commit
980cbbad
authored
Nov 11, 2020
by
Oleksandr
🎱
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rename the url to uri
parent
37e23dc9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
authorization_request.rb
lib/zoholib/authorization_request.rb
+2
-2
refresh_request.rb
lib/zoholib/refresh_request.rb
+2
-2
zoho_basic_client.rb
lib/zoholib/zoho_basic_client.rb
+2
-2
No files found.
lib/zoholib/authorization_request.rb
View file @
980cbbad
...
...
@@ -19,7 +19,7 @@ module Wedoops
def
initialize
(
options
=
{})
# environment specific settings
if
options
.
has_key?
(
:environment
)
&&
options
[
:environment
]
==
"sandbox"
self
.
class
.
base_ur
l
"https://sandbox.zohoapis.com/oauth/v2/"
self
.
class
.
base_ur
i
"https://sandbox.zohoapis.com/oauth/v2/"
end
#build_url(options)
...
...
@@ -127,4 +127,4 @@ module Wedoops
end
end
end
\ No newline at end of file
end
lib/zoholib/refresh_request.rb
View file @
980cbbad
...
...
@@ -15,7 +15,7 @@ module Wedoops
def
initialize
(
options
=
{})
# environment specific settings
if
options
.
has_key?
(
:environment
)
&&
options
[
:environment
]
==
"sandbox"
self
.
class
.
base_ur
l
"https://sandbox.zohoapis.com/oauth/v2/"
self
.
class
.
base_ur
i
"https://sandbox.zohoapis.com/oauth/v2/"
end
options
.
merge!
(
grant_type:
"refresh_token"
)
...
...
@@ -29,4 +29,4 @@ module Wedoops
end
end
end
\ No newline at end of file
end
lib/zoholib/zoho_basic_client.rb
View file @
980cbbad
...
...
@@ -16,7 +16,7 @@ module Wedoops
def
initialize
(
options
=
{})
# environment specific settings
if
options
.
has_key?
(
:environment
)
&&
options
[
:environment
]
==
"sandbox"
self
.
class
.
base_ur
l
"https://sandbox.zohoapis.com/crm/v2/"
self
.
class
.
base_ur
i
"https://sandbox.zohoapis.com/crm/v2/"
end
#Es un cliennte basico que trabaja a partir de refresh_tokens
...
...
@@ -244,4 +244,4 @@ module Wedoops
end
end
end
\ No newline at end of file
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment