Class: RunApi::Flux::Client

Inherits:
Core::Client
  • Object
show all
Defined in:
lib/runapi/flux/client.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(api_key: nil, **options) ⇒ Client

Returns a new instance of Client.



8
9
10
11
12
# File 'lib/runapi/flux/client.rb', line 8

def initialize(api_key: nil, **options)
  super
  @text_to_image = Resources::TextToImage.new(http)
  @remix_image = Resources::RemixImage.new(http)
end

Instance Attribute Details

#remix_imageObject (readonly)

Returns the value of attribute remix_image.



6
7
8
# File 'lib/runapi/flux/client.rb', line 6

def remix_image
  @remix_image
end

#text_to_imageObject (readonly)

Returns the value of attribute text_to_image.



6
7
8
# File 'lib/runapi/flux/client.rb', line 6

def text_to_image
  @text_to_image
end