omdb-api 1.4.1 → 1.4.2

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
  SHA256:
3
- metadata.gz: 5f05de45c6e33b25b00ba818972efd97854c368bfe544bf38f3e4c4a6ae01cf0
4
- data.tar.gz: 78f3f67727e65edb898a3af7b872acd981989c6e7e61a305c5dd6841495eb04c
3
+ metadata.gz: 53a689d8935ccce557c928d0e8f38b8bd7cf75613d3e1fcb90bdbec4e0a8d1b5
4
+ data.tar.gz: fc8af5261edc11877a0d4b0114313fbedf019a76fda2c01539210d70327d4546
5
5
  SHA512:
6
- metadata.gz: 401b042377351113395f8a3da182ac2890c457d85f29aa77a0b03fec9de5bd1113207276dbc726e0d7bd8adf0765de62a76c85537cbcaa8108d4cb5d40dfe0ec
7
- data.tar.gz: 7401004fc3bf5109505879f4d1a5736c23cc6cd5e4df507c9222790516e90c4d0fb42049e1a9501c2b9a6cb2e72ef3b7cce79126469ab1747b19223f33e4d2b4
6
+ metadata.gz: 1e7b1a6a65f3646aff09bcb100ee041a695e67c63cc10c809d7b429e7e6714126951a5c38d75248a839e0aea52b032c2ab9556272a75f05f1e421b2938817dd9
7
+ data.tar.gz: 0b7bc261b523b9b3c1758f6723afc14c83eae4750e6ef3c0dc4d396ce916e2636d8a3860d18285e7b430e1e2c94342f6d25e093e1f5c81e29187974fc15e5fd4
data/README.md CHANGED
@@ -40,7 +40,7 @@ client = Omdb::Api::Client.new do |config|
40
40
  end
41
41
  ```
42
42
 
43
- ### API
43
+ ### Fetching
44
44
 
45
45
  ```ruby
46
46
  require 'omdb/api'
@@ -75,37 +75,42 @@ Returns an `Omdb::Api::Collection`
75
75
  An unsuccessful query will return an `Omdb::Api::Error` object
76
76
 
77
77
 
78
- An `Omdb::Api::Movie` object has getters for these attributes
79
-
80
- ```ruby
81
- #actors
82
- #awards
83
- #country
84
- #director
85
- #genre
86
- #imdb_id
87
- #imdb_rating
88
- #imdb_votes
89
- #language
90
- #metascore
91
- #plot
92
- #poster
93
- #rated
94
- #released
95
- #response
96
- #runtime
97
- #title
98
- #type
99
- #writer
100
- #year
101
- ```
102
-
103
- An `Omdb::Api::Error` object has
104
-
105
- ```ruby
106
- #response
78
+ ## API
79
+
80
+ **Parent**<br />
81
+ Omdb::Api::Movie
82
+
83
+ **Methods**<br />
84
+ #actors<br />
85
+ #awards<br />
86
+ #box_office<br />
87
+ #country<br />
88
+ #director<br />
89
+ #dvd<br />
90
+ #error<br />
91
+ #genre<br />
92
+ #imdb_id<br />
93
+ #imdb_rating<br />
94
+ #imdb_votes<br />
95
+ #language<br />
96
+ #metascore<br />
97
+ #plot<br />
98
+ #poster<br />
99
+ #rated<br />
100
+ #released<br />
101
+ #runtime<br />
102
+ #title<br />
103
+ #type<br />
104
+ #writer<br />
105
+ #year<br />
106
+
107
+
108
+ **Parent**<br />
109
+ Omdb::Api::Error
110
+
111
+ **Methods**<br />
112
+ #response<br />
107
113
  #error
108
- ```
109
114
 
110
115
  ## Development
111
116
 
@@ -3,8 +3,8 @@
3
3
  module Omdb
4
4
  module Api
5
5
  class Error
6
- attr_reader :response
7
- :error
6
+ attr_reader :response,
7
+ :error
8
8
 
9
9
  def initialize(params)
10
10
  params.each_pair do |k, v|
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Omdb
4
4
  module Api
5
- VERSION = '1.4.1'
5
+ VERSION = '1.4.2'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omdb-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.1
4
+ version: 1.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Palaniuk
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-06-08 00:00:00.000000000 Z
11
+ date: 2019-08-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport