Skip to main content
2 of 2
modified `@restforce` to `client` to fit better with general restforce docs
Huw
  • 275
  • 4
  • 14

Thanks to @sfdcfox for his comment above - turns out the Last Modified header appears to be there for global describe.

so a simple restforce call:

client.get("/services/data/v37.0/sobjects")['Last-Modified']

Gives me a datetime formatted as a string, but i can use response.to_datetime to do a comparision against something stored in local database - awesome!

Huw
  • 275
  • 4
  • 14