-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
Currently if you try to use multiple clients in same entity, entity will define methods only from the latest client. As in:
class StubClient < ApiStruct::Client
def foo
# do something
end
end
class AnotherStubClient < ApiStruct::Client
def bar
# do something
end
end
class StubEntity < ApiStruct::Entity
client_service StubClient
client_service AnotherStubClient
endIt will complain:
> StubEntity.foo
NoMethodError:
undefined method `foo' for #<AnotherStubClient:0x00000000019128e0>See also: #13
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels