xednese 0.0.0 → 0.0.1

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: 0655d51c18e3166feda964a5401798ec46d59900
4
- data.tar.gz: 31a7d981298f71cf23da411388eb4920aa5291b4
3
+ metadata.gz: 381d98d8d9e52c8f4ad3136d50780e79eca43d75
4
+ data.tar.gz: a3e8b964f56061bafe0ce6bc8401f92d3f557f58
5
5
  SHA512:
6
- metadata.gz: 28015566c69de2d862a79ecff04434badaa1ae2e354ce1dddfbf9b1c28f9b2c3ac37152663879285f78db37b5c1aafb72bdae7c75d01120372fc0a59be59acbc
7
- data.tar.gz: afa21575f1230639c5a5da75808081638568d8d8b8dc67ac1b886de9567b3179ec07e635fcd1ad412816a3a1f250ebea9ad7e0b8e980727474f480e867143c13
6
+ metadata.gz: efb4d2396b366aa322791529f947d6b2409ea1c98323b8cbdb138dadc368f962c0b029a871e572ef6540d387a245891c771ddc833c842887f69c6876be73650f
7
+ data.tar.gz: 87d1652e6ed3033da2e2ba1df223d3e82ed52b7259d3fefa73a97b98ca4bf0625ffa03e7a18eef58174452df8e989f5f7138be7caa24adc158bea47d4866d1df
@@ -14,7 +14,7 @@ class Esendex
14
14
  }
15
15
 
16
16
  Client.get(@credentials, 'v1.0/messageheaders', params) do |status, data|
17
- Responses::MessageHeaders.deserialise(data).messageheaders
17
+ Responses::MessageHeaders.deserialise(data).message_headers
18
18
  end
19
19
  end
20
20
  end
@@ -1,3 +1,3 @@
1
1
  class Esendex
2
- VERSION = '0.0.0'
2
+ VERSION = '0.0.1'
3
3
  end
@@ -7,14 +7,14 @@ describe Esendex::Messages do
7
7
  describe '#sent' do
8
8
  let(:xml) { "Hey I'm xml" }
9
9
  let(:first_message) { Object.new }
10
- let(:parsed_messages) { stub(messageheaders: [first_message]) }
10
+ let(:parsed_messages) { stub(message_headers: [first_message]) }
11
11
 
12
12
  before {
13
13
  Esendex::Client
14
14
  .expects(:get)
15
15
  .with(credentials, 'v1.0/messageheaders', startIndex: 0, count: 25)
16
16
  .yields(200, xml)
17
- .returns(parsed_messages.messageheaders)
17
+ .returns(parsed_messages.message_headers)
18
18
 
19
19
  Esendex::Responses::MessageHeaders
20
20
  .expects(:deserialise)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xednese
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.0
4
+ version: 0.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joshua Hawxwell