Class: Scrapio::Resources::AppleAppStore

Inherits:
Object
  • Object
show all
Defined in:
lib/scrapio/resources/apple_app_store.rb

Instance Method Summary collapse

Constructor Details

#initialize(http) ⇒ AppleAppStore

Returns a new instance of AppleAppStore.



4
# File 'lib/scrapio/resources/apple_app_store.rb', line 4

def initialize(http) = @http = http

Instance Method Details

#get_app(url) ⇒ Object



6
7
8
# File 'lib/scrapio/resources/apple_app_store.rb', line 6

def get_app(url)
  @http.get("/v1/apple-app-store/app", { url: url })
end