ringcentral-sdk 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: e43034b49bfa6d2d866165e36e061a6ef701d506
4
+ data.tar.gz: d6607d5e22320e2461f74a0448f018806d7b4cb3
5
+ SHA512:
6
+ metadata.gz: 8d413033eace79af29bf4ecb81548cd540fd48fd0e93cbb0813a9dbc8af00ce2c56a4276a3b81bd89183ef984a757f7fa88b7a16b05df9d6cce40bd25f714dee
7
+ data.tar.gz: c27d5e4a229e3e3988a1065661207595a9c59c411f1d42b4771deeaff79765e940e141668a7e91a58444da8894eaf7ebe6cf20e4bae3bc9cf838c465ab4a6d67
data/README.md ADDED
@@ -0,0 +1,45 @@
1
+ # RingCentral Ruby SDK
2
+
3
+
4
+ ## Installation
5
+
6
+ Add `gem 'ringcentral-sdk'` to `Gemfile`.
7
+
8
+
9
+ ## Documentation
10
+
11
+ https://developer.ringcentral.com/api-docs/latest/index.html
12
+
13
+
14
+ ## Usage
15
+
16
+ WIP.
17
+
18
+
19
+ ## How to test
20
+
21
+ Create `.env` file with the following content:
22
+
23
+ ```
24
+ production=false
25
+ server=https://platform.devtest.ringcentral.com
26
+ appKey=appKey
27
+ appSecret=appSecret
28
+ username=username
29
+ extension=extension
30
+ password=password
31
+ receiver=number-to-receiver-sms
32
+ ```
33
+
34
+
35
+ ## License
36
+
37
+ MIT
38
+
39
+
40
+ ## Todo
41
+
42
+ - unit tests
43
+ - Travis CI
44
+ - code coverage
45
+ - publish to https://rubygems.org
data/Rakefile ADDED
@@ -0,0 +1,8 @@
1
+ require 'rake/testtask'
2
+
3
+ Rake::TestTask.new do |t|
4
+ t.libs << 'test'
5
+ end
6
+
7
+ desc "Run tests"
8
+ task :default => :test
@@ -0,0 +1,5 @@
1
+ class RingCentral
2
+ def self.hi
3
+ 'hello'
4
+ end
5
+ end
@@ -0,0 +1,17 @@
1
+ Gem::Specification.new do |gem|
2
+ gem.name = 'ringcentral-sdk'
3
+ gem.version = '0.1.0'
4
+ gem.authors = ['Tyler Liu']
5
+ gem.email = ['tyler.liu@ringcentral.com']
6
+ gem.description = 'Ruby SDK for you to access RingCentral platform API.'
7
+ gem.summary = 'RingCentral Ruby SDK.'
8
+ gem.homepage = 'https://github.com/tylerlong/ringcentral-ruby'
9
+ gem.license = 'MIT'
10
+
11
+ gem.require_paths = ['lib']
12
+ gem.files = %w(Rakefile README.md ringcentral-sdk.gemspec)
13
+ gem.files += Dir['lib/**/*.rb']
14
+ gem.test_files = Dir['test/**/*.rb']
15
+
16
+ gem.add_dependency('rest-client', '>= 2.0.2')
17
+ end
@@ -0,0 +1,8 @@
1
+ require 'test/unit'
2
+ require 'ringcentral'
3
+
4
+ class RingCentralTest < Test::Unit::TestCase
5
+ def test_hello
6
+ assert_equal "hello", RingCentral.hi
7
+ end
8
+ end
metadata ADDED
@@ -0,0 +1,64 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: ringcentral-sdk
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Tyler Liu
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2017-12-19 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rest-client
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: 2.0.2
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: 2.0.2
27
+ description: Ruby SDK for you to access RingCentral platform API.
28
+ email:
29
+ - tyler.liu@ringcentral.com
30
+ executables: []
31
+ extensions: []
32
+ extra_rdoc_files: []
33
+ files:
34
+ - README.md
35
+ - Rakefile
36
+ - lib/ringcentral.rb
37
+ - ringcentral-sdk.gemspec
38
+ - test/test_ringcentral.rb
39
+ homepage: https://github.com/tylerlong/ringcentral-ruby
40
+ licenses:
41
+ - MIT
42
+ metadata: {}
43
+ post_install_message:
44
+ rdoc_options: []
45
+ require_paths:
46
+ - lib
47
+ required_ruby_version: !ruby/object:Gem::Requirement
48
+ requirements:
49
+ - - ">="
50
+ - !ruby/object:Gem::Version
51
+ version: '0'
52
+ required_rubygems_version: !ruby/object:Gem::Requirement
53
+ requirements:
54
+ - - ">="
55
+ - !ruby/object:Gem::Version
56
+ version: '0'
57
+ requirements: []
58
+ rubyforge_project:
59
+ rubygems_version: 2.5.1
60
+ signing_key:
61
+ specification_version: 4
62
+ summary: RingCentral Ruby SDK.
63
+ test_files:
64
+ - test/test_ringcentral.rb