Module: StabilityAI

Defined in:
lib/stabilityai.rb,
lib/stabilityai/client.rb,
lib/stabilityai/images.rb,
lib/stabilityai/version.rb

Defined Under Namespace

Classes: Client, Configuration, ConfigurationError, Error, Images

Constant Summary collapse

VERSION =
"0.0.2".freeze

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject



43
44
45
# File 'lib/stabilityai.rb', line 43

def self.configuration
  @configuration ||= StabilityAI::Configuration.new
end

Class Method Details

.configure {|configuration| ... } ⇒ Object

Yields:



47
48
49
# File 'lib/stabilityai.rb', line 47

def self.configure
  yield(configuration)
end