infinity_stone 0.1.3 → 0.1.4

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: 6f8954f0d6186e7c287dd1ae02b7bd176b49e357
4
- data.tar.gz: 90be080826bb8d5ebf73124cf59de38f3422231c
3
+ metadata.gz: e34e196747033dd384fc896373e2b5ab3410a579
4
+ data.tar.gz: b12493408e94858c6bf155e86b5332f050a8f043
5
5
  SHA512:
6
- metadata.gz: 8634e2978c17e9c2a36a3bfe8aa07ad60af09da99b57f792d4e0fef82511a323a01da3b93de1213ad95fa42d7812018ba52c0b38e9aa688ecbb3bcc199f023f7
7
- data.tar.gz: 91bbaa9f50a7f4e564930836e8a4e96f635be767af196d93007ebd59dfa7adeeb7d2bf302b3acd9aba814bdd48069fb5a3d6ba24273260ae3de492459d9da735
6
+ metadata.gz: ad40dea7bf65b184f66561ccbf344010e1963d84908db1b7725192bf28822bf0fb16539de8be9c6e0a1358dd051009c37f2d9679ee6a7445bf0e761e75460f87
7
+ data.tar.gz: 53452e799a1db90c640c4d5d95e24f7d055c4b5e3047d173d73f6ad946fb5416cb6c779ca1ce1363ae3811de87f9e113e441c290d49df3b51dc501214a2988cb
@@ -7,10 +7,12 @@ module InfinityStone
7
7
 
8
8
  base_uri "gateway.marvel.com/v1/public"
9
9
 
10
- # fetches lists of characters
11
10
  def self.characters(options={})
12
- # v1/public/characters
13
11
  get('/characters',query: options)
14
12
  end
15
13
 
14
+ def self.character(id, options = {})
15
+ get("/characters/#{id}",query: options)
16
+ end
17
+
16
18
  end
@@ -1,3 +1,3 @@
1
1
  module InfinityStone
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: infinity_stone
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Satyam Singh