roqua-core-api 0.0.10 → 0.0.11

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 16242225e679868d3490798412d8585f0e22b666
4
- data.tar.gz: b618a7499c9be7d03b55e470ee8780c23776054d
3
+ metadata.gz: 59bd3050c559a28a879ac11af622410a74ee2248
4
+ data.tar.gz: 79cb0779df69138dae9788bf9dff377ecb9400fa
5
5
  SHA512:
6
- metadata.gz: 3ecd95b03e4473ddf07458b71b91b36b09ac3ff61699a4caaaa80470d6cac3f5f063764628659cea451997612b43897bf34bcf578cdcde9e3d3dde472be7f118
7
- data.tar.gz: d5dc85d752535893e40fd4881a7e10c40d311273c5bc6bc7ba5c837193feda0affeac51868fe090ac11760f83319fc01fc89ce244bef789ce327abc730ec2c43
6
+ metadata.gz: 0d5ebfeaad2d326688632a3ea1bd77d05023510b431c24dc484e7992bd189b2f6475db55dd57ea4cfd7d6325a27d7714eab933e1537bf06bafee56a18989809c
7
+ data.tar.gz: 87e11c1502e2fad15933b5b227293ef17dbd40d48ffe1dd32062583c6f7a230008ade5c65ecfc2e7e56f4966d9ad4d4793ca7d011524ec7e668a2a01d3335dde
data/ChangeLog.md CHANGED
@@ -1,3 +1,7 @@
1
+ ### 0.0.11 / 2014-03-07
2
+
3
+ * Various fixes for SendInviteEmail API
4
+
1
5
  ### 0.0.10 / 2014-03-07
2
6
 
3
7
  * Remove organization session, dossier_group session and dossier session
@@ -3,9 +3,10 @@ module Roqua
3
3
  # @api private
4
4
  class SendInviteEmail < ActiveInteraction::Base
5
5
  model :session, class: Sessions::OAuthSession
6
+ string :dossier_id
6
7
 
7
8
  def execute
8
- session.post '/send_invite_email'
9
+ session.post "/dossiers/#{dossier_id}/send_invite_email"
9
10
  end
10
11
  end
11
12
  end
@@ -1,5 +1,5 @@
1
1
  module Roqua
2
2
  module CoreApi
3
- VERSION = "0.0.10"
3
+ VERSION = "0.0.11"
4
4
  end
5
5
  end
@@ -4,7 +4,7 @@ describe SendInviteEmail do
4
4
  let(:session) { Fabricate :oauth_session }
5
5
 
6
6
  it 'performs a post on the send_invite_email api path' do
7
- expect(session).to receive(:post).with '/send_invite_email'
8
- SendInviteEmail.run!(session: session)
7
+ expect(session).to receive(:post).with '/dossiers/some_dossier_id/send_invite_email'
8
+ SendInviteEmail.run!(session: session, dossier_id: 'some_dossier_id')
9
9
  end
10
10
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: roqua-core-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.10
4
+ version: 0.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marten Veldthuis