lib/contentful/client.rb
def entry(id, query = {})
      normalize_select!(query)
      query['sys.id'] = id
      entries = Request.new(self, environment_url('/entries'), query).get

      return entries if configuration[:raw_mode]

      entries.first
    end
def entry(id, query = {})
      normalize_select!(query)
      query['sys.id'] = id
      entries = Request.new(self, environment_url('/entries'), query).get

      return entries if configuration[:raw_mode]

      entries.first
    end
Gets a specific entry

 @param [String] id
 @param [Hash] query

 @return [Contentful::Entry]