-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Bohdan Paratskyi
committed
Feb 19, 2024
1 parent
de1d7fa
commit c2f83b6
Showing
5 changed files
with
29 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -102,3 +102,6 @@ def logger | |
# Webhooks | ||
require 'pipedrive/webhook' | ||
|
||
# Call Logs | ||
require 'pipedrive/call_log' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# frozen_string_literal: true | ||
|
||
module Pipedrive | ||
class CallLog < Base | ||
include ::Pipedrive::Operations::Read | ||
include ::Pipedrive::Operations::Create | ||
include ::Pipedrive::Operations::Update | ||
include ::Pipedrive::Operations::Delete | ||
include ::Pipedrive::Utils | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# frozen_string_literal: true | ||
|
||
module Pipedrive | ||
VERSION = '0.3.2' | ||
VERSION = '0.3.3' | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# frozen_string_literal: true | ||
|
||
require 'spec_helper' | ||
|
||
RSpec.describe ::Pipedrive::CallLog do | ||
subject { described_class.new('token') } | ||
|
||
describe '#entity_name' do | ||
subject { super().entity_name } | ||
|
||
it { is_expected.to eq('call_logs') } | ||
end | ||
end |