image_monger_client 0.0.9 → 0.0.10

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,7 +3,7 @@ require 'json'
3
3
  require 'cgi'
4
4
 
5
5
  module ImageMongerClient
6
- class ImageMongerClient::Client
6
+ class PdfService
7
7
 
8
8
  attr_reader :pdf_url
9
9
 
@@ -1,3 +1,3 @@
1
1
  module ImageMongerClient
2
- VERSION = "0.0.9"
2
+ VERSION = "0.0.10"
3
3
  end
@@ -1,9 +1,9 @@
1
1
  require "image_monger_client/version"
2
- require "image_monger_client/client"
2
+ require "image_monger_client/pdf_service"
3
3
 
4
4
  module ImageMongerClient
5
5
 
6
- def self.client(pdf_url)
7
- Client.new(pdf_url)
6
+ def self.pdf_pages_as_image_urls(pdf_url)
7
+ PdfService.new(pdf_url).pages_as_image_urls
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: image_monger_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.0.10
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -73,7 +73,7 @@ files:
73
73
  - Rakefile
74
74
  - image_monger_client.gemspec
75
75
  - lib/image_monger_client.rb
76
- - lib/image_monger_client/client.rb
76
+ - lib/image_monger_client/pdf_service.rb
77
77
  - lib/image_monger_client/version.rb
78
78
  homepage: ''
79
79
  licenses: