diff --git a/CHANGELOG.md b/CHANGELOG.md index 3718f97..e2cab73 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,11 +1,13 @@ -1.11.5 - added tags to drip campaign activations -1.11.4 - added optional parameters to customer_create -1.11.3 - fix bug in customer remove method where arguments were empty -1.11.2 - fix bug in logs method where options weren't being respected -1.11.1 - fix typo in group method -1.11.0 - add template create/update methods as well as group create/update methods -1.10.2 - include render parameter on locale -1.10.1 - tag support, error base class, logs method +1.13.0 - Add support to get customer details +1.12.0 - Customer logs endpoint added and optional parameters for logs fixed when no options sent +1.11.5 - Added tags to drip campaign activations +1.11.4 - Added optional parameters to customer_create +1.11.3 - Fix bug in customer remove method where arguments were empty +1.11.2 - Fix bug in logs method where options weren't being respected +1.11.1 - Fix typo in group method +1.11.0 - Add template create/update methods as well as group create/update methods +1.10.2 - Include render parameter on locale +1.10.1 - Tag support, error base class, logs method 1.9.0 - Locale support. Introduce send\_email(). Deprecate send\_with(). 1.8.0 - Tags support for send\_with 1.7.0 - diff --git a/lib/send_with_us/version.rb b/lib/send_with_us/version.rb index fab1aea..3ef0f2b 100644 --- a/lib/send_with_us/version.rb +++ b/lib/send_with_us/version.rb @@ -1,3 +1,3 @@ module SendWithUs - VERSION = '1.12.1' + VERSION = '1.13.0' end diff --git a/test/lib/send_with_us/api_test.rb b/test/lib/send_with_us/api_test.rb index 6c77a19..8dee81d 100644 --- a/test/lib/send_with_us/api_test.rb +++ b/test/lib/send_with_us/api_test.rb @@ -94,4 +94,11 @@ it { subject.start_on_drip_campaign(email, drip_campaign_id, {}, locale, tags) } end end + + describe '#customer_get' do + let(:email) {'customer@example.com'} + before { SendWithUs::ApiRequest.any_instance.expects(:get).with("customers/#{email}") } + + it { subject.customer_get(email) } + end end