Cannot access result attributes
gouvermxt opened this issue · comments
When I try to access any Movie or Error attribute I get an error like:
undefined method
imdb_id' for #Omdb::Api::Movie:0x00007fbd4673be18`
The workaround is to use instance_variable_get
.
Ruby: 2.6.0
Rails: 5.2.3
I'll take a look
Should be fixed, bump to the latest version, let me know if you have any issues