pipedrive_ruby 1.0.1.pre15

Sign up to get free protection for your applications and to get access to all the features.
Files changed (117) hide show
  1. checksums.yaml +7 -0
  2. data/.codeclimate.yml +30 -0
  3. data/.gitignore +12 -0
  4. data/.rspec +2 -0
  5. data/.rubocop.yml +1156 -0
  6. data/.travis.yml +8 -0
  7. data/CODE_OF_CONDUCT.md +49 -0
  8. data/Gemfile +4 -0
  9. data/Guardfile +56 -0
  10. data/LICENSE.txt +21 -0
  11. data/README.md +59 -0
  12. data/Rakefile +6 -0
  13. data/bin/console +14 -0
  14. data/bin/setup +8 -0
  15. data/doc/Activities.html +138 -0
  16. data/doc/ActivitiesFields.html +134 -0
  17. data/doc/ActivitiesTypes.html +141 -0
  18. data/doc/Authorizations.html +138 -0
  19. data/doc/Currencies.html +143 -0
  20. data/doc/DealsFields.html +146 -0
  21. data/doc/EmailMessages.html +137 -0
  22. data/doc/EmailThreads.html +136 -0
  23. data/doc/Estages.html +137 -0
  24. data/doc/Files.html +139 -0
  25. data/doc/Filters.html +139 -0
  26. data/doc/GlobalMessages.html +134 -0
  27. data/doc/Goals.html +137 -0
  28. data/doc/NoteFields.html +134 -0
  29. data/doc/Notes.html +137 -0
  30. data/doc/OrganizationFields.html +147 -0
  31. data/doc/OrganizationRelationships.html +135 -0
  32. data/doc/PermissionSets.html +134 -0
  33. data/doc/PersonFields.html +146 -0
  34. data/doc/Persons.html +136 -0
  35. data/doc/PipedriveRuby/Activities.html +159 -0
  36. data/doc/PipedriveRuby/ActivitiesFields.html +148 -0
  37. data/doc/PipedriveRuby/ActivitiesTypes.html +148 -0
  38. data/doc/PipedriveRuby/ActivityFields.html +148 -0
  39. data/doc/PipedriveRuby/ActivityTypes.html +148 -0
  40. data/doc/PipedriveRuby/Authorizations.html +231 -0
  41. data/doc/PipedriveRuby/Base.html +456 -0
  42. data/doc/PipedriveRuby/Currencies.html +162 -0
  43. data/doc/PipedriveRuby/DealFields.html +148 -0
  44. data/doc/PipedriveRuby/Deals.html +842 -0
  45. data/doc/PipedriveRuby/HttpFactory.html +1362 -0
  46. data/doc/PipedriveRuby/Organizations.html +148 -0
  47. data/doc/PipedriveRuby/PipedriveClient.html +385 -0
  48. data/doc/PipedriveRuby/Products.html +319 -0
  49. data/doc/PipedriveRuby/PushNotifications.html +159 -0
  50. data/doc/PipedriveRuby/Recents.html +159 -0
  51. data/doc/PipedriveRuby/SearchResults.html +250 -0
  52. data/doc/PipedriveRuby/UserConnections.html +159 -0
  53. data/doc/PipedriveRuby/UserSettings.html +159 -0
  54. data/doc/PipedriveRuby.html +174 -0
  55. data/doc/Pipelines.html +134 -0
  56. data/doc/ProductFields.html +147 -0
  57. data/doc/Products.html +140 -0
  58. data/doc/PushNotifications.html +141 -0
  59. data/doc/Recent.html +134 -0
  60. data/doc/Roles.html +134 -0
  61. data/doc/SearchResults.html +135 -0
  62. data/doc/UserConnections.html +134 -0
  63. data/doc/UserSettings.html +134 -0
  64. data/doc/Users.html +137 -0
  65. data/doc/_index.html +425 -0
  66. data/doc/class_list.html +51 -0
  67. data/doc/css/common.css +1 -0
  68. data/doc/css/full_list.css +58 -0
  69. data/doc/css/style.css +474 -0
  70. data/doc/file.README.html +160 -0
  71. data/doc/file_list.html +56 -0
  72. data/doc/frames.html +17 -0
  73. data/doc/index.html +160 -0
  74. data/doc/js/app.js +243 -0
  75. data/doc/js/full_list.js +216 -0
  76. data/doc/js/jquery.js +4 -0
  77. data/doc/method_list.html +411 -0
  78. data/doc/top-level-namespace.html +114 -0
  79. data/lib/http_factory.rb +154 -0
  80. data/lib/pipedrive_client.rb +24 -0
  81. data/lib/pipedrive_ruby/version.rb +4 -0
  82. data/lib/pipedrive_ruby.rb +48 -0
  83. data/lib/resources/activities.rb +9 -0
  84. data/lib/resources/activitiy_fields.rb +6 -0
  85. data/lib/resources/activity_types.rb +11 -0
  86. data/lib/resources/authorizations.rb +16 -0
  87. data/lib/resources/base.rb +17 -0
  88. data/lib/resources/currencies.rb +13 -0
  89. data/lib/resources/deal_fields.rb +10 -0
  90. data/lib/resources/deals.rb +72 -0
  91. data/lib/resources/email_messages.rb +5 -0
  92. data/lib/resources/email_threads.rb +4 -0
  93. data/lib/resources/files.rb +4 -0
  94. data/lib/resources/filters.rb +4 -0
  95. data/lib/resources/global_messages.rb +3 -0
  96. data/lib/resources/goals.rb +4 -0
  97. data/lib/resources/note_fields.rb +3 -0
  98. data/lib/resources/notes.rb +4 -0
  99. data/lib/resources/organization_fields.rb +8 -0
  100. data/lib/resources/organization_relationships.rb +3 -0
  101. data/lib/resources/organizations.rb +7 -0
  102. data/lib/resources/permission_sets.rb +3 -0
  103. data/lib/resources/person_fields.rb +3 -0
  104. data/lib/resources/persons.rb +4 -0
  105. data/lib/resources/pipelines.rb +3 -0
  106. data/lib/resources/product_fields.rb +8 -0
  107. data/lib/resources/products.rb +29 -0
  108. data/lib/resources/push_notifications.rb +10 -0
  109. data/lib/resources/recents.rb +6 -0
  110. data/lib/resources/roles.rb +3 -0
  111. data/lib/resources/search_results.rb +14 -0
  112. data/lib/resources/stages.rb +4 -0
  113. data/lib/resources/user_connections.rb +7 -0
  114. data/lib/resources/user_settings.rb +6 -0
  115. data/lib/resources/users.rb +5 -0
  116. data/pipedrive_ruby.gemspec +34 -0
  117. metadata +286 -0
data/.travis.yml ADDED
@@ -0,0 +1,8 @@
1
+ sudo: false
2
+ language: ruby
3
+ rvm:
4
+ - 2.0.0
5
+ - 2.1.9
6
+ - 2.2.5
7
+ - 2.3.1
8
+ before_install: gem install bundler -v 1.12.5
@@ -0,0 +1,49 @@
1
+ # Contributor Code of Conduct
2
+
3
+ As contributors and maintainers of this project, and in the interest of
4
+ fostering an open and welcoming community, we pledge to respect all people who
5
+ contribute through reporting issues, posting feature requests, updating
6
+ documentation, submitting pull requests or patches, and other activities.
7
+
8
+ We are committed to making participation in this project a harassment-free
9
+ experience for everyone, regardless of level of experience, gender, gender
10
+ identity and expression, sexual orientation, disability, personal appearance,
11
+ body size, race, ethnicity, age, religion, or nationality.
12
+
13
+ Examples of unacceptable behavior by participants include:
14
+
15
+ * The use of sexualized language or imagery
16
+ * Personal attacks
17
+ * Trolling or insulting/derogatory comments
18
+ * Public or private harassment
19
+ * Publishing other's private information, such as physical or electronic
20
+ addresses, without explicit permission
21
+ * Other unethical or unprofessional conduct
22
+
23
+ Project maintainers have the right and responsibility to remove, edit, or
24
+ reject comments, commits, code, wiki edits, issues, and other contributions
25
+ that are not aligned to this Code of Conduct, or to ban temporarily or
26
+ permanently any contributor for other behaviors that they deem inappropriate,
27
+ threatening, offensive, or harmful.
28
+
29
+ By adopting this Code of Conduct, project maintainers commit themselves to
30
+ fairly and consistently applying these principles to every aspect of managing
31
+ this project. Project maintainers who do not follow or enforce the Code of
32
+ Conduct may be permanently removed from the project team.
33
+
34
+ This code of conduct applies both within project spaces and in public spaces
35
+ when an individual is representing the project or its community.
36
+
37
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
38
+ reported by contacting a project maintainer at lypborges@gmail.com. All
39
+ complaints will be reviewed and investigated and will result in a response that
40
+ is deemed necessary and appropriate to the circumstances. Maintainers are
41
+ obligated to maintain confidentiality with regard to the reporter of an
42
+ incident.
43
+
44
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage],
45
+ version 1.3.0, available at
46
+ [http://contributor-covenant.org/version/1/3/0/][version]
47
+
48
+ [homepage]: http://contributor-covenant.org
49
+ [version]: http://contributor-covenant.org/version/1/3/0/
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in pipedrive_ruby.gemspec
4
+ gemspec
data/Guardfile ADDED
@@ -0,0 +1,56 @@
1
+ # A sample Guardfile
2
+ # More info at https://github.com/guard/guard#readme
3
+
4
+ ## Uncomment and set this to only include directories you want to watch
5
+ # directories %w(app lib config test spec features) \
6
+ # .select{|d| Dir.exists?(d) ? d : UI.warning("Directory #{d} does not exist")}
7
+
8
+ ## Note: if you are using the `directories` clause above and you are not
9
+ ## watching the project directory ('.'), then you will want to move
10
+ ## the Guardfile to a watched dir and symlink it back, e.g.
11
+ #
12
+ # $ mkdir config
13
+ # $ mv Guardfile config/
14
+ # $ ln -s config/Guardfile .
15
+ #
16
+ # and, you'll have to watch "config/Guardfile" instead of "Guardfile"
17
+
18
+ # Note: The cmd option is now required due to the increasing number of ways
19
+ # rspec may be run, below are examples of the most common uses.
20
+ # * bundler: 'bundle exec rspec'
21
+ # * bundler binstubs: 'bin/rspec'
22
+ # * spring: 'bin/rspec' (This will use spring if running and you have
23
+ # installed the spring binstubs per the docs)
24
+ # * zeus: 'zeus rspec' (requires the server to be started separately)
25
+ # * 'just' rspec: 'rspec'
26
+
27
+ guard :rspec, cmd: "bundle exec rspec" do
28
+ require "guard/rspec/dsl"
29
+ dsl = Guard::RSpec::Dsl.new(self)
30
+
31
+ #resources folder
32
+ watch(%r{^lib/resources/(.+)\.rb$}) do |m|
33
+ "spec/resources/#{m[1]}_spec.rb"
34
+ # .tap do |result|
35
+ # Guard::UI.info "Sending changes to Lib: #{result.inspect}"
36
+ # Guard::UI.info "The original match is: #{m.inspect}"
37
+ # end
38
+ end
39
+
40
+
41
+ # RSpec files
42
+ rspec = dsl.rspec
43
+ watch(rspec.spec_helper) { rspec.spec_dir }
44
+ watch(rspec.spec_support) { rspec.spec_dir }
45
+ watch(rspec.spec_files)
46
+
47
+ # Ruby files
48
+ ruby = dsl.ruby
49
+ dsl.watch_spec_files_for(ruby.lib_files)
50
+
51
+ # Turnip features and steps
52
+ watch(%r{^spec/acceptance/(.+)\.feature$})
53
+ watch(%r{^spec/acceptance/steps/(.+)_steps\.rb$}) do |m|
54
+ Dir[File.join("**/#{m[1]}.feature")][0] || "spec/acceptance"
55
+ end
56
+ end
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2016 Felipe Borges Ferreira
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,59 @@
1
+ # PipedriveRuby
2
+ [![Build Status](https://travis-ci.org/lypborges/pipedrive_ruby.svg?branch=master)](https://travis-ci.org/lypborges/pipedrive_ruby)[![Code Climate](https://codeclimate.com/github/lypborges/pipedrive_ruby/badges/gpa.svg)](https://codeclimate.com/github/lypborges/pipedrive_ruby)[![Test Coverage](https://codeclimate.com/github/lypborges/pipedrive_ruby/badges/coverage.svg)](https://codeclimate.com/github/lypborges/pipedrive_ruby/coverage)
3
+
4
+ It's a working in progress.
5
+
6
+ ## Tested with Ruby versions:
7
+ - 2.0.0
8
+ - 2.1.9
9
+ - 2.2.5
10
+ - 2.3.1
11
+
12
+ Welcome to your new gem! To experiment with that code, run `bin/console` for an interactive prompt.
13
+
14
+ ## Installation
15
+
16
+ Add this line to your application's Gemfile:
17
+
18
+ ```ruby
19
+ gem 'pipedrive_ruby'
20
+ ```
21
+
22
+ And then execute:
23
+
24
+ $ bundle
25
+
26
+ Or install it yourself as:
27
+
28
+ $ gem install pipedrive_ruby --pre
29
+
30
+ ## Usage
31
+
32
+ See Wiki [getting started!](https://github.com/lypborges/pipedrive_ruby/wiki)
33
+
34
+ ## Development
35
+
36
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
37
+
38
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
39
+
40
+ ## Contributing
41
+
42
+ Bug reports and pull requests are welcome on GitHub at https://github.com/lypborges/pipedrive_ruby. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
43
+
44
+ ## Publishing new version with
45
+ - Using https://github.com/svenfuchs/gem-release
46
+ - `gem install gem-release` if you don't have.
47
+ - `gem bump --version pre`, this will change the version according
48
+ - `gem release --tag` this will, publish to rubygems.org and tag on github
49
+
50
+ ##Tips
51
+
52
+ before push/pull requests always run tests:
53
+ - `codeclimate analyze`
54
+ - `spec`
55
+
56
+
57
+ ## License
58
+
59
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
data/Rakefile ADDED
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "pipedrive_ruby"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,138 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>
7
+ Class: Activities
8
+
9
+ &mdash; Documentation by YARD 0.9.0
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" />
14
+
15
+ <link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" />
16
+
17
+ <script type="text/javascript" charset="utf-8">
18
+ pathId = "Activities";
19
+ relpath = '';
20
+ </script>
21
+
22
+
23
+ <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
24
+
25
+ <script type="text/javascript" charset="utf-8" src="js/app.js"></script>
26
+
27
+
28
+ </head>
29
+ <body>
30
+ <div class="nav_wrap">
31
+ <iframe id="nav" src="class_list.html"></iframe>
32
+ <div id="resizer"></div>
33
+ </div>
34
+
35
+ <div id="main" tabindex="-1">
36
+ <div id="header">
37
+ <div id="menu">
38
+
39
+ <a href="_index.html">Index (A)</a> &raquo;
40
+
41
+
42
+ <span class="title">Activities</span>
43
+
44
+ </div>
45
+
46
+ <div id="search">
47
+
48
+ <a class="full_list_link" id="class_list_link"
49
+ href="class_list.html">
50
+
51
+ <svg width="24" height="24">
52
+ <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
53
+ <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
54
+ <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
55
+ </svg>
56
+ </a>
57
+
58
+ </div>
59
+ <div class="clear"></div>
60
+ </div>
61
+
62
+ <iframe id="search_frame" src="class_list.html"></iframe>
63
+
64
+ <div id="content"><h1>Class: Activities
65
+
66
+
67
+
68
+ </h1>
69
+ <div class="box_info">
70
+
71
+ <dl>
72
+ <dt>Inherits:</dt>
73
+ <dd>
74
+ <span class="inheritName">Object</span>
75
+
76
+ <ul class="fullTree">
77
+ <li>Object</li>
78
+
79
+ <li class="next">Activities</li>
80
+
81
+ </ul>
82
+ <a href="#" class="inheritanceTree">show all</a>
83
+
84
+ </dd>
85
+ </dl>
86
+
87
+
88
+
89
+
90
+
91
+
92
+
93
+
94
+
95
+
96
+
97
+ <dl>
98
+ <dt>Defined in:</dt>
99
+ <dd>lib/resources/activities.rb</dd>
100
+ </dl>
101
+
102
+ </div>
103
+
104
+ <h2>Overview</h2><div class="docstring">
105
+ <div class="discussion">
106
+
107
+ <p>Activities are appointments/tasks/events on a calendar that can be
108
+ associated with a Deal, a Person and an Organization. Activities can be of
109
+ different type (such as call, meeting, lunch or a custom type - see
110
+ ActivityTypes object) and can be assigned to a particular User. Note that
111
+ activities can also be created without a specific date/time.</p>
112
+
113
+
114
+ </div>
115
+ </div>
116
+ <div class="tags">
117
+
118
+
119
+ </div>
120
+
121
+
122
+
123
+
124
+
125
+
126
+
127
+
128
+ </div>
129
+
130
+ <div id="footer">
131
+ Generated on Thu Jul 14 10:14:54 2016 by
132
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
133
+ 0.9.0 (ruby-2.2.5).
134
+ </div>
135
+
136
+ </div>
137
+ </body>
138
+ </html>
@@ -0,0 +1,134 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>
7
+ Class: ActivitiesFields
8
+
9
+ &mdash; Documentation by YARD 0.9.0
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" />
14
+
15
+ <link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" />
16
+
17
+ <script type="text/javascript" charset="utf-8">
18
+ pathId = "ActivitiesFields";
19
+ relpath = '';
20
+ </script>
21
+
22
+
23
+ <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
24
+
25
+ <script type="text/javascript" charset="utf-8" src="js/app.js"></script>
26
+
27
+
28
+ </head>
29
+ <body>
30
+ <div class="nav_wrap">
31
+ <iframe id="nav" src="class_list.html"></iframe>
32
+ <div id="resizer"></div>
33
+ </div>
34
+
35
+ <div id="main" tabindex="-1">
36
+ <div id="header">
37
+ <div id="menu">
38
+
39
+ <a href="_index.html">Index (A)</a> &raquo;
40
+
41
+
42
+ <span class="title">ActivitiesFields</span>
43
+
44
+ </div>
45
+
46
+ <div id="search">
47
+
48
+ <a class="full_list_link" id="class_list_link"
49
+ href="class_list.html">
50
+
51
+ <svg width="24" height="24">
52
+ <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
53
+ <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
54
+ <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
55
+ </svg>
56
+ </a>
57
+
58
+ </div>
59
+ <div class="clear"></div>
60
+ </div>
61
+
62
+ <iframe id="search_frame" src="class_list.html"></iframe>
63
+
64
+ <div id="content"><h1>Class: ActivitiesFields
65
+
66
+
67
+
68
+ </h1>
69
+ <div class="box_info">
70
+
71
+ <dl>
72
+ <dt>Inherits:</dt>
73
+ <dd>
74
+ <span class="inheritName">Object</span>
75
+
76
+ <ul class="fullTree">
77
+ <li>Object</li>
78
+
79
+ <li class="next">ActivitiesFields</li>
80
+
81
+ </ul>
82
+ <a href="#" class="inheritanceTree">show all</a>
83
+
84
+ </dd>
85
+ </dl>
86
+
87
+
88
+
89
+
90
+
91
+
92
+
93
+
94
+
95
+
96
+
97
+ <dl>
98
+ <dt>Defined in:</dt>
99
+ <dd>lib/resources/activities_fields.rb</dd>
100
+ </dl>
101
+
102
+ </div>
103
+
104
+ <h2>Overview</h2><div class="docstring">
105
+ <div class="discussion">
106
+
107
+ <p>ActivityFields represent different fields that Activity has.</p>
108
+
109
+
110
+ </div>
111
+ </div>
112
+ <div class="tags">
113
+
114
+
115
+ </div>
116
+
117
+
118
+
119
+
120
+
121
+
122
+
123
+
124
+ </div>
125
+
126
+ <div id="footer">
127
+ Generated on Thu Jul 14 10:14:54 2016 by
128
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
129
+ 0.9.0 (ruby-2.2.5).
130
+ </div>
131
+
132
+ </div>
133
+ </body>
134
+ </html>
@@ -0,0 +1,141 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>
7
+ Class: ActivitiesTypes
8
+
9
+ &mdash; Documentation by YARD 0.9.0
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" />
14
+
15
+ <link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" />
16
+
17
+ <script type="text/javascript" charset="utf-8">
18
+ pathId = "ActivitiesTypes";
19
+ relpath = '';
20
+ </script>
21
+
22
+
23
+ <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
24
+
25
+ <script type="text/javascript" charset="utf-8" src="js/app.js"></script>
26
+
27
+
28
+ </head>
29
+ <body>
30
+ <div class="nav_wrap">
31
+ <iframe id="nav" src="class_list.html"></iframe>
32
+ <div id="resizer"></div>
33
+ </div>
34
+
35
+ <div id="main" tabindex="-1">
36
+ <div id="header">
37
+ <div id="menu">
38
+
39
+ <a href="_index.html">Index (A)</a> &raquo;
40
+
41
+
42
+ <span class="title">ActivitiesTypes</span>
43
+
44
+ </div>
45
+
46
+ <div id="search">
47
+
48
+ <a class="full_list_link" id="class_list_link"
49
+ href="class_list.html">
50
+
51
+ <svg width="24" height="24">
52
+ <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
53
+ <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
54
+ <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
55
+ </svg>
56
+ </a>
57
+
58
+ </div>
59
+ <div class="clear"></div>
60
+ </div>
61
+
62
+ <iframe id="search_frame" src="class_list.html"></iframe>
63
+
64
+ <div id="content"><h1>Class: ActivitiesTypes
65
+
66
+
67
+
68
+ </h1>
69
+ <div class="box_info">
70
+
71
+ <dl>
72
+ <dt>Inherits:</dt>
73
+ <dd>
74
+ <span class="inheritName">Object</span>
75
+
76
+ <ul class="fullTree">
77
+ <li>Object</li>
78
+
79
+ <li class="next">ActivitiesTypes</li>
80
+
81
+ </ul>
82
+ <a href="#" class="inheritanceTree">show all</a>
83
+
84
+ </dd>
85
+ </dl>
86
+
87
+
88
+
89
+
90
+
91
+
92
+
93
+
94
+
95
+
96
+
97
+ <dl>
98
+ <dt>Defined in:</dt>
99
+ <dd>lib/resources/activities_types.rb</dd>
100
+ </dl>
101
+
102
+ </div>
103
+
104
+ <h2>Overview</h2><div class="docstring">
105
+ <div class="discussion">
106
+
107
+ <p>ActivityTypes represent different kinds of activities that can be stored.
108
+ Each ActivityType is presented to the user with an icon and a name.
109
+ Additionally, a color can be defined (not implemented in the Pipedrive app
110
+ as of today). ActivityTypes are linked to Activities via
111
+ ActivityType.key_string = Activity.type. The key_string will be generated
112
+ by the API based on the given name of the ActivityType upon creation, and
113
+ cannot be changed. ActivityTypes should be presented to the user in an
114
+ ordered manner, using the ActivityType.order_nr value.</p>
115
+
116
+
117
+ </div>
118
+ </div>
119
+ <div class="tags">
120
+
121
+
122
+ </div>
123
+
124
+
125
+
126
+
127
+
128
+
129
+
130
+
131
+ </div>
132
+
133
+ <div id="footer">
134
+ Generated on Thu Jul 14 10:14:54 2016 by
135
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
136
+ 0.9.0 (ruby-2.2.5).
137
+ </div>
138
+
139
+ </div>
140
+ </body>
141
+ </html>