foobara-discord-api 0.0.1 → 0.0.2

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +4 -0
  3. data/src/create_message.rb +4 -14
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 016b6711be1b5f560a8e52aa99685e31532dcfce95a0ed15a110eaabb07b2429
4
- data.tar.gz: a088ab3531cdb9a5cf92bceb2b115fc5f6676f974be8459adfedca2bdd7f17e4
3
+ metadata.gz: 39c2e3b6247ea95acf1fd36deebca574371e5c76ae99eb696d41cb558bd1fa18
4
+ data.tar.gz: ce0bf6aa85517da7945593c9b460ac815cb898198f055529c38362515efa8d43
5
5
  SHA512:
6
- metadata.gz: 3b792739a230b73e5448e97f7532ef5fe0c88344113e11cda2a4593ecb7c9bf18ebf6a26f9db9f1b23f17e89379348421cbce97097e76b0e44f454c18bfe4d4a
7
- data.tar.gz: 8ad2ab2efbc443ad0078b0f10b8fe0b8ac67177ef33d037de047d92799c1515eb9a7e23803a5454e33a13a4dcd5ae500fa908e6c42a9f353273fe7ac0477724f
6
+ metadata.gz: 122fbba60610364a00e48d6e3cb9b01b678f0391548d1379a0c94f688fda31b354c148e211bcec2e64e6a327e55a510981cc3f5c060651edba7db4bdd8cfefef
7
+ data.tar.gz: b5739bd62f61bb8a536b157df436ebcd258daa29b49cfbf5b547a846251956e3ea1ae7b96d70e01c4317993333e878e09718cde5ca035a5e6373c165b74319f4
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## [0.0.2] - 2026-09-09
2
+
3
+ - Make use of ignore_unexpected_attributes to not error when unsupported attributes are added
4
+
1
5
  ## [0.0.1] - 2026-09-09
2
6
 
3
7
  - Initial release
@@ -20,23 +20,13 @@ module Foobara
20
20
  end
21
21
 
22
22
  def build_request_body
23
- self.request_body = {
24
-
25
- content:
26
-
27
- # tts: false,
28
- # embeds: [{
29
- # title: "Hello, Embed!",
30
- # description: "This is an embedded message."
31
- # }]
32
-
33
- }
23
+ self.request_body = { content: }
34
24
  end
35
25
 
36
26
  # Comment out this three lines when testing new models or looking for new attributes.
37
- # def build_result
38
- # Message.new(response_body, ignore_unexpected_attributes: true)
39
- # end
27
+ def build_result
28
+ Message.new(response_body, ignore_unexpected_attributes: true)
29
+ end
40
30
  end
41
31
  end
42
32
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foobara-discord-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Miles Georgi