Skip to content

Commit 68e119e

Browse files
committed
Small fix
1 parent c4e8a61 commit 68e119e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/pipedrive/resource.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def has_many(resource_name, args = {})
7373
"For example has_many :deals, class_name: 'Deal'"
7474
end
7575
class_name_lower_case = class_name.downcase
76-
singular = args[:singular] || class_name_lower_case[0..]
76+
singular = args[:singular] || class_name_lower_case
7777
# always include all the data of the resource
7878
options = { "include_#{class_name_lower_case}_data": 1 }
7979
# add namespace to class_name

0 commit comments

Comments
 (0)