neon_crm 0.0.5 → 0.0.6
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.
- data/README.md +23 -2
- data/lib/generators/neon_crm/install_generator.rb +11 -0
- data/lib/generators/templates/networks.yml +9 -0
- data/lib/neon_crm/version.rb +1 -1
- metadata +13 -5
- checksums.yaml +0 -15
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# NeonCrm
|
2
2
|
|
3
|
-
|
3
|
+
Provides login and create account by [NeonCRM](www.z2systems.com) API
|
4
4
|
|
5
5
|
## Installation
|
6
6
|
|
@@ -18,8 +18,25 @@ Or install it yourself as:
|
|
18
18
|
|
19
19
|
## Usage
|
20
20
|
|
21
|
-
|
21
|
+
After you install NeonCRM and add it to your Gemfile, you need to run the generator:
|
22
22
|
|
23
|
+
```console
|
24
|
+
rails generate neon_crm:install
|
25
|
+
```
|
26
|
+
|
27
|
+
Provide your api key and organization id in `config/networks.yml`
|
28
|
+
|
29
|
+
To get session id:
|
30
|
+
|
31
|
+
```ruby
|
32
|
+
NeonCrm.get_user_session_id
|
33
|
+
```
|
34
|
+
|
35
|
+
To create account:
|
36
|
+
|
37
|
+
```ruby
|
38
|
+
NeonCrm.create_account("first_name" => user.first_name, "last_name" => user.last_name, "phone" => user.phone, "organization" => user.organization, "address" => user.address, "email" => user.email, "source" => 'www.example.org')
|
39
|
+
```
|
23
40
|
## Contributing
|
24
41
|
|
25
42
|
1. Fork it ( http://github.com/<my-github-username>/neon_crm/fork )
|
@@ -27,3 +44,7 @@ TODO: Write usage instructions here
|
|
27
44
|
3. Commit your changes (`git commit -am 'Add some feature'`)
|
28
45
|
4. Push to the branch (`git push origin my-new-feature`)
|
29
46
|
5. Create new Pull Request
|
47
|
+
|
48
|
+
## Say Thank You
|
49
|
+
|
50
|
+
If you want to say thank you, please support the petition to designate [25june](25june.org/en/signatures/new) as Vitiligo World Day and save millions of people worldwide from social isolation and persecution.
|
data/lib/neon_crm/version.rb
CHANGED
metadata
CHANGED
@@ -1,18 +1,20 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: neon_crm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
|
+
prerelease:
|
5
6
|
platform: ruby
|
6
7
|
authors:
|
7
8
|
- Zuev Evgenii
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date: 2014-
|
12
|
+
date: 2014-04-10 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: bundler
|
15
16
|
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
16
18
|
requirements:
|
17
19
|
- - ~>
|
18
20
|
- !ruby/object:Gem::Version
|
@@ -20,6 +22,7 @@ dependencies:
|
|
20
22
|
type: :development
|
21
23
|
prerelease: false
|
22
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
23
26
|
requirements:
|
24
27
|
- - ~>
|
25
28
|
- !ruby/object:Gem::Version
|
@@ -27,6 +30,7 @@ dependencies:
|
|
27
30
|
- !ruby/object:Gem::Dependency
|
28
31
|
name: rake
|
29
32
|
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
30
34
|
requirements:
|
31
35
|
- - ! '>='
|
32
36
|
- !ruby/object:Gem::Version
|
@@ -34,6 +38,7 @@ dependencies:
|
|
34
38
|
type: :development
|
35
39
|
prerelease: false
|
36
40
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
37
42
|
requirements:
|
38
43
|
- - ! '>='
|
39
44
|
- !ruby/object:Gem::Version
|
@@ -50,6 +55,8 @@ files:
|
|
50
55
|
- LICENSE.txt
|
51
56
|
- README.md
|
52
57
|
- Rakefile
|
58
|
+
- lib/generators/neon_crm/install_generator.rb
|
59
|
+
- lib/generators/templates/networks.yml
|
53
60
|
- lib/neon_crm.rb
|
54
61
|
- lib/neon_crm/configuration.rb
|
55
62
|
- lib/neon_crm/version.rb
|
@@ -57,25 +64,26 @@ files:
|
|
57
64
|
homepage: ''
|
58
65
|
licenses:
|
59
66
|
- MIT
|
60
|
-
metadata: {}
|
61
67
|
post_install_message:
|
62
68
|
rdoc_options: []
|
63
69
|
require_paths:
|
64
70
|
- lib
|
65
71
|
required_ruby_version: !ruby/object:Gem::Requirement
|
72
|
+
none: false
|
66
73
|
requirements:
|
67
74
|
- - ! '>='
|
68
75
|
- !ruby/object:Gem::Version
|
69
76
|
version: '0'
|
70
77
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
78
|
+
none: false
|
71
79
|
requirements:
|
72
80
|
- - ! '>='
|
73
81
|
- !ruby/object:Gem::Version
|
74
82
|
version: '0'
|
75
83
|
requirements: []
|
76
84
|
rubyforge_project:
|
77
|
-
rubygems_version:
|
85
|
+
rubygems_version: 1.8.23
|
78
86
|
signing_key:
|
79
|
-
specification_version:
|
87
|
+
specification_version: 3
|
80
88
|
summary: NeonCRM API integration
|
81
89
|
test_files: []
|
checksums.yaml
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
---
|
2
|
-
!binary "U0hBMQ==":
|
3
|
-
metadata.gz: !binary |-
|
4
|
-
MDcyNzkzNzliN2VhOWJlNzBhMjZiMjg0YzgyNWZlNGE4Y2NhODc1Mw==
|
5
|
-
data.tar.gz: !binary |-
|
6
|
-
NDhlNDQ0MzJmMmZiM2E1MTE5OTcwYjY1NzEwMjIyMWY4YjhjY2U0OA==
|
7
|
-
SHA512:
|
8
|
-
metadata.gz: !binary |-
|
9
|
-
NjIxYTE2YTA3MGQ2YzdmZmIzMDMwMGYwZmFlMTkwYzFmNzNkNzE4OWMyNDQ0
|
10
|
-
YTIwYTIzYWU2ODRkMGUzODEwMTk2Y2YzNjY0NWVhOTczYWE2NmI0MmZiMzdk
|
11
|
-
MzBjN2ZhNmVmZjExMTk2OWE5YmE0Mzg5MjYxNzYyM2M0Y2Y3ZjM=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
ODI3OTQzNGFhZjI4OTM1MWYzNGI5OTY3NjNkMWRlNWZiMThkOTU3NDk1NGM1
|
14
|
-
NjUyNjY4MTM3NjIzNWI5YTkzN2QxYjQ4Y2QyYmY3YzNlNzU1ZjVhY2NlYjVl
|
15
|
-
NDc0OTQwNjdlMTZhYjg0OTVlZWQ2NTM4OGM4MTVlMTEyYzZlMmY=
|