Sha256: aa1b9b0005182efd688ba5e848d0045bc350aa9af1e89fed90b8b4a7d028e302

Contents?: true

Size: 376 Bytes

Versions: 2

Compression:

Stored size: 376 Bytes

Contents

# frozen_string_literal: true

module OneApiSdk
  class Movie
    include OneApiSdk::Filters
    include OneApiSdk::Requests

    def initialize
      @query_string = 'movie?'
    end

    def execute
      results = get(@query_string)
    end

    def movie_quotes
      @query_string = "#{@query_string}/quote?"

      self
    end

    def all
      self
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
one_api_sdk-alex-0.1.1 lib/one_api_sdk/movie.rb
one_api_sdk-alex-0.1.0 lib/one_api_sdk/movie.rb