Skip to content
Permalink
Browse files

Issue #563: Fretboard: Make kinto properties private

Closes #563: Fretboard: Make kinto properties private
  • Loading branch information...
fercarcedo authored and pocmo committed Aug 3, 2018
1 parent 20f5ba1 commit 80d1bbf100448bccca64f1a84c881fc7e1a50795
@@ -17,10 +17,10 @@ import java.net.URL
*/
internal class KintoClient(
private val httpClient: HttpClient = HttpURLConnectionHttpClient(),
val baseUrl: String,
val bucketName: String,
val collectionName: String,
val headers: Map<String, String>? = null
private val baseUrl: String,
private val bucketName: String,
private val collectionName: String,
private val headers: Map<String, String>? = null
) {

/**
@@ -19,9 +19,9 @@ import org.json.JSONObject
* @param collectionName name of the collection to fetch
*/
class KintoExperimentSource(
val baseUrl: String,
val bucketName: String,
val collectionName: String,
private val baseUrl: String,
private val bucketName: String,
private val collectionName: String,
private val client: HttpClient = HttpURLConnectionHttpClient()
) : ExperimentSource {
override fun getExperiments(snapshot: ExperimentsSnapshot): ExperimentsSnapshot {

0 comments on commit 80d1bbf

Please sign in to comment.
You can’t perform that action at this time.