Module: OpenStax::Content

Defined in:
lib/openstax_content.rb,
lib/openstax/content/version.rb

Defined Under Namespace

Classes: Abl, Archive, Book, BookPart, CustomCss, Fragment, FragmentSplitter, Page, S3, Title

Constant Summary collapse

VERSION =
'0.1.0'

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.abl_urlObject

Returns the value of attribute abl_url.



4
5
6
# File 'lib/openstax_content.rb', line 4

def abl_url
  @abl_url
end

.archive_pathObject

Returns the value of attribute archive_path.



4
5
6
# File 'lib/openstax_content.rb', line 4

def archive_path
  @archive_path
end

.bucket_nameObject

Returns the value of attribute bucket_name.



4
5
6
# File 'lib/openstax_content.rb', line 4

def bucket_name
  @bucket_name
end

.domainObject

Returns the value of attribute domain.



4
5
6
# File 'lib/openstax_content.rb', line 4

def domain
  @domain
end

.exercises_search_api_urlObject

Returns the value of attribute exercises_search_api_url.



4
5
6
# File 'lib/openstax_content.rb', line 4

def exercises_search_api_url
  @exercises_search_api_url
end

.loggerObject

Returns the value of attribute logger.



4
5
6
# File 'lib/openstax_content.rb', line 4

def logger
  @logger
end

.s3_access_key_idObject

Returns the value of attribute s3_access_key_id.



4
5
6
# File 'lib/openstax_content.rb', line 4

def s3_access_key_id
  @s3_access_key_id
end

.s3_regionObject

Returns the value of attribute s3_region.



4
5
6
# File 'lib/openstax_content.rb', line 4

def s3_region
  @s3_region
end

.s3_secret_access_keyObject

Returns the value of attribute s3_secret_access_key.



4
5
6
# File 'lib/openstax_content.rb', line 4

def s3_secret_access_key
  @s3_secret_access_key
end

Class Method Details

.configure {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:



7
8
9
# File 'lib/openstax_content.rb', line 7

def configure
  yield self
end