messenger-ruby 1.1.4 → 1.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d38ac08d7148579e6c2acd158fe5da375d0664fd
4
- data.tar.gz: 2397174f21176dbbe6be0a095ae242a8632a785b
3
+ metadata.gz: 4c85d2f07a4c24fe6d19e1f89863c1760db902d5
4
+ data.tar.gz: 433e8679c728d5853dfda0879d22f0bf7614e7d7
5
5
  SHA512:
6
- metadata.gz: 6a71fb4206096cdb737b1cda4431151b21200d56ec17704b06b98fb95f3ce0249ac9ec3a7efbc7a4f69afa1d66491025c7bcd1ca3d11f601a9c2dd216df5b21e
7
- data.tar.gz: 502795ee238a3a0a10b74f93321989a6f53218914b55af45ff434a5807c8872cc6e17f4b960dbc44628e0ffbc720d2264bde591d23c8adc72c6418562fead9d3
6
+ metadata.gz: 59bc58caad4c33396846d38b84d2d79cfae1244d33c6634596d9ad2159c93fb9a4639c29ccff3c99a46b0a5294d3fb1a130abceefe14b1e02360cb047da5aa7e
7
+ data.tar.gz: 957bf31734cda0383012510586a9f71e7e12b4ca4098f0c0c7c9a1c0feb197c7ff4fd4323012635ff6e4f3898d5b313bb6de127ff5883fdc381364be70bc271d
@@ -3,11 +3,12 @@ module Messenger
3
3
  class Message
4
4
  include Callback
5
5
 
6
- attr_accessor :mid, :seq, :text, :attachments
6
+ attr_accessor :mid, :seq, :sticker_id, :text, :attachments
7
7
 
8
- def initialize(mid:, seq:, text: nil, attachments: nil)
8
+ def initialize(mid:, seq:, sticker_id: nil, text: nil, attachments: nil)
9
9
  @mid = mid
10
10
  @seq = seq
11
+ @sticker_id = sticker_id if sticker_id.present?
11
12
  @text = text if text.present?
12
13
  @attachments = build_attachments(attachments) if attachments.present?
13
14
  end
@@ -1,3 +1,3 @@
1
1
  module Messenger
2
- VERSION = "1.1.4"
2
+ VERSION = "1.1.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: messenger-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.4
4
+ version: 1.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - justynjozwiak
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2016-06-06 00:00:00.000000000 Z
12
+ date: 2016-06-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rest-client