Sharing ActionWebService::Struct across several API


I would like to know if there is a way to share ActionWebService::Struct
across several API (same rails app of course). I have duplicated the
structs, but:
1/ It’s not DRY
2/ Callers are .NET callers, and each proxy generates structs in
different namespaces, so callers cannot receive an object from an API
and send back to an other without doing ugly casting.

Is there a way to share them?

Thank you,

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs